@antv/layout
Version:
graph layout algorithm
37 lines (31 loc) • 784 B
JavaScript
import { __require as require_root } from './_root.js';
var now_1;
var hasRequiredNow;
function requireNow () {
if (hasRequiredNow) return now_1;
hasRequiredNow = 1;
var root = require_root();
/**
* Gets the timestamp of the number of milliseconds that have elapsed since
* the Unix epoch (1 January 1970 00:00:00 UTC).
*
* @static
* @memberOf _
* @since 2.4.0
* @category Date
* @returns {number} Returns the timestamp.
* @example
*
* _.defer(function(stamp) {
* console.log(_.now() - stamp);
* }, _.now());
* // => Logs the number of milliseconds it took for the deferred invocation.
*/
var now = function() {
return root.Date.now();
};
now_1 = now;
return now_1;
}
export { requireNow as __require };
//# sourceMappingURL=now.js.map