Remove unnecessary test.js file

stable
David Barragán Merino 2015-09-24 14:22:33 +02:00
parent b82ea36f10
commit 69fd6246b3
1 changed files with 0 additions and 17 deletions

17
test.js
View File

@ -1,17 +0,0 @@
var startTime = new Date().getTime();
var duration = 500;
var from = 2;
var to = 10;
var delta = to - from;
function next() {
var elapsed = new Date().getTime() - startTime;
var factor = Math.min(elapsed / duration, 1);
console.log(from + delta * factor);
}
setInterval(function(){
next();
}, 50);