throttle-tests.js revision d38aee909b1a7a6ddc0d0362f98573d691ada1a1
name: "Throttle Tests",
test_throttle: function() {
var counter = 0,
out = 0,
i = 0, fn;
counter++;
}, 2);
for (i; i< 35000; i++) {
out++;
fn();
}
var fn1 = function() {
counter++;
};
},
test_throttle_negative: function() {
var counter = 0,
out = 0,
i = 0, fn;
counter++;
}, -1);
for (i; i< 3500; i++) {
out++;
fn();
}
var fn1 = function() {
counter++;
};
}
});
});