asdf-games/node_modules/right-now/browser.js

8 lines
174 B
JavaScript
Raw Normal View History

module.exports =
global.performance &&
global.performance.now ? function now() {
return performance.now()
} : Date.now || function now() {
return +new Date
}