Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

comment usage of Math.random()

  • Loading branch information...
commit 46734f31f22a04ce5b9cbc132e138b0d2725735b 1 parent 94d9bad
Philip Tellis bluesmoon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  boomerang.js
2  boomerang.js
View
@@ -1043,7 +1043,7 @@ var impl = {
load_img: function(i, run, callback)
{
var url = this.base_url + images[i].name
- + '?t=' + (new Date().getTime()) + Math.random(),
+ + '?t=' + (new Date().getTime()) + Math.random(), // Math.random() is slow, but we get it before we start the timer
timer=0, tstart=0,
img = new Image(),
that=this;
Please sign in to comment.
Something went wrong with that request. Please try again.