Skip to content

Commit

Permalink
Use native Date() instead of window date
Browse files Browse the repository at this point in the history
  • Loading branch information
chendrix committed Jun 19, 2015
1 parent e3ebb47 commit ce1c9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Native/Now.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
};

};

0 comments on commit ce1c9f6

Please sign in to comment.