mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Bump to v4.14.2.
This commit is contained in:
8
now.js
8
now.js
@@ -1,4 +1,4 @@
|
||||
define([], function() {
|
||||
define(['./_root'], function(root) {
|
||||
|
||||
/**
|
||||
* Gets the timestamp of the number of milliseconds that have elapsed since
|
||||
@@ -16,9 +16,9 @@ define([], function() {
|
||||
* }, _.now());
|
||||
* // => Logs the number of milliseconds it took for the deferred invocation.
|
||||
*/
|
||||
function now() {
|
||||
return Date.now();
|
||||
}
|
||||
var now = function() {
|
||||
return root.Date.now();
|
||||
};
|
||||
|
||||
return now;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user