mirror of
https://github.com/stCarolas/setup-maven.git
synced 2024-11-26 21:26:07 +08:00
11 lines
190 B
JavaScript
11 lines
190 B
JavaScript
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;
|
|
|
|
});
|