mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 15:23:44 +08:00
4 lines
146 B
JavaScript
4 lines
146 B
JavaScript
// A (possibly faster) way to get the current timestamp as an integer.
|
|
export default Date.now || function() {
|
|
return new Date().getTime();
|
|
}; |