Use Date.now when possible
parent
d487c73ce8
commit
3e4318395b
|
@ -43,7 +43,7 @@ var mina = (function (eve) {
|
|||
return a + dif * (bb - b);
|
||||
};
|
||||
},
|
||||
timer = function () {
|
||||
timer = Date.now || function () {
|
||||
return +new Date;
|
||||
},
|
||||
sta = function (val) {
|
||||
|
|
Loading…
Reference in New Issue