Sha256: b90cd432da118d58e5f6d6bea746b8f7dea2135ac103f417c4939838c6b5053e
Contents?: true
Size: 362 Bytes
Versions: 69
Compression:
Stored size: 362 Bytes
Contents
define(function () { /** * Get current time in miliseconds */ function now(){ // yes, we defer the work to another function to allow mocking it // during the tests return now.get(); } now.get = (typeof Date.now === 'function')? Date.now : function(){ return +(new Date()); }; return now; });
Version data entries
69 entries across 69 versions & 2 rubygems