Fixed #18
This commit is contained in:
parent
f6b4cb046e
commit
7b160f296b
3 changed files with 78 additions and 80 deletions
|
|
@ -87,9 +87,7 @@ usr.binaryInsert = function(a, v, fnCompare) {
|
|||
*
|
||||
* @return {number} the current time, in milliseconds
|
||||
*/
|
||||
usr.getTime = function() {
|
||||
return Date.now() || +new Date();
|
||||
};
|
||||
usr.getTime = Date.now || function() { return +new Date(); };
|
||||
|
||||
/**
|
||||
* getTimestamp()
|
||||
|
|
|
|||
Loading…
Reference in a new issue