💄 Use Date.now

This commit is contained in:
Kevin Sawicki
2013-10-24 18:58:43 -07:00
parent feff67457d
commit 29646cdff8

View File

@@ -1,5 +1,5 @@
# Like sands through the hourglass, so are the days of our lives.
startTime = new Date().getTime()
startTime = Date.now()
require './window'
@@ -7,4 +7,4 @@ Atom = require './atom'
window.atom = new Atom()
window.setUpEnvironment('editor')
window.startEditorWindow()
console.log "Window load time: #{new Date().getTime() - startTime}ms"
console.log "Window load time: #{Date.now() - startTime}ms"