From 29646cdff8dc5655527f4d78ebcd8e12e724e844 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 24 Oct 2013 18:58:43 -0700 Subject: [PATCH] :lipstick: Use Date.now --- src/window-bootstrap.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window-bootstrap.coffee b/src/window-bootstrap.coffee index 15da3237e..6d94e4dc0 100644 --- a/src/window-bootstrap.coffee +++ b/src/window-bootstrap.coffee @@ -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"