Fix horribly broken code

This commit is contained in:
Cryptkeeper
2015-11-24 17:24:17 -06:00
parent 7ac62da3c9
commit 5012cd7771
2 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,11 @@
exports.getCurrentTimeMs = function() {
return new Date().getTime();
};
exports.setIntervalNoDelay = function(func, delay) {
var task = setInterval(func, delay);
func();
return task;
};