From ce1c9f69ab4aec5e1d2a1c15faaeb0a00a954f04 Mon Sep 17 00:00:00 2001 From: Chris Hendrix Date: Thu, 18 Jun 2015 21:08:23 -0700 Subject: [PATCH] Use native Date() instead of window date --- src/Native/Now.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Native/Now.js b/src/Native/Now.js index caf5978..8ddf5ac 100644 --- a/src/Native/Now.js +++ b/src/Native/Now.js @@ -14,7 +14,7 @@ Elm.Native.Now.make = function(localRuntime) { var Result = Elm.Result.make(localRuntime); return localRuntime.Native.Now.values = { - loadTime: (new window.Date).getTime() + loadTime: (new Date()).getTime() }; }; \ No newline at end of file