Skip to content

Commit d6fcc99

Browse files
committed
添加测试数据
1 parent aa5aa40 commit d6fcc99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

consistency_hash/js/hash.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ window.onload = function (){
8282
ctx.moveTo(x,y)
8383
var linex = Math.cos(oneKeyDegree*index*Math.PI/180)*r+x
8484
var liney = Math.sin(oneKeyDegree*index*Math.PI/180)*r+y
85-
ctx.lineTo(linex,liney)
85+
//ctx.lineTo(linex,liney)
8686
ctx.arc(linex,liney,radius,utils.hd(0),utils.hd(360))
8787
ctx.fillStyle = cycleColor
88-
ctx.strokeStyle = cycleColor
88+
//ctx.strokeStyle = cycleColor
8989
ctx.fill()
90-
ctx.stroke()
90+
//ctx.stroke()
9191
ctx.save()
9292
}
9393

0 commit comments

Comments
 (0)