11 lines
190 B
JavaScript
Raw Permalink Normal View History

2024-10-15 23:05:53 +03:00
define(function () {
// A (possibly faster) way to get the current timestamp as an integer.
var now = Date.now || function() {
return new Date().getTime();
};
return now;
});