Bump to v4.0.2.

This commit is contained in:
John-David Dalton
2016-01-24 22:41:24 -08:00
parent c033f79116
commit a9140d2c8f
545 changed files with 6999 additions and 2625 deletions

View File

@@ -7,6 +7,15 @@
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/** Detect free variable `global` from Node.js. */
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
/** Detect free variable `self`. */
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
/** Used as a reference to the global object. */
var root = freeGlobal || freeSelf || Function('return this')();
/**
* Gets the timestamp of the number of milliseconds that have elapsed since
* the Unix epoch (1 January 1970 00:00:00 UTC).
@@ -23,8 +32,8 @@
* }, _.now());
* // => Logs the number of milliseconds it took for the deferred invocation.
*/
function now() {
return Date.now();
}
var now = function() {
return root.Date.now();
};
module.exports = now;