Skip to content

Commit

Permalink
Use embr randInt
Browse files Browse the repository at this point in the history
  • Loading branch information
notlion committed Jan 2, 2012
1 parent c025e4c commit 0dbf53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sv.js
Expand Up @@ -38,7 +38,7 @@ define([
return [ this.pano, this.zoom, this.x, this.y ].join(",");
},
getUrl: function(){
return "http://cbk" + Math.floor(Math.random() * 4) + ".google.com/cbk?output=tile" +
return "http://cbk" + core.math.randInt(4) + ".google.com/cbk?output=tile" +
"&panoid=" + this.pano +
"&zoom=" + this.zoom.toFixed() +
"&x=" + this.x.toFixed() +
Expand Down

0 comments on commit 0dbf53f

Please sign in to comment.