Sha256: aea8f350b77d1dd8a66cb7b45a48b8d397adfaa0cfbc52b65bbd14a5a5fcc222
Contents?: true
Size: 425 Bytes
Versions: 40
Compression:
Stored size: 425 Bytes
Contents
getJasmineRequireObj().Timer = function() { var defaultNow = (function(Date) { return function() { return new Date().getTime(); }; })(Date); function Timer(options) { options = options || {}; var now = options.now || defaultNow, startTime; this.start = function() { startTime = now(); }; this.elapsed = function() { return now() - startTime; }; } return Timer; };
Version data entries
40 entries across 40 versions & 2 rubygems