Uh oh!
There was an error while loading. Please reload this page.
Changes necessary to compile under JS strict mode - #269
Conversation
| width: 640, | ||
| timerOn: (localStorage.hasOwnProperty("model") === true), | ||
| nowOffset: getTZOffset(now), | ||
| nowOffset: now.getTimezoneOffset(), |
There was a problem hiding this comment.
Actually this line I am not sure about. I couldn't find getTZOffset() anywhere in the code base -- is this an equivalent replacement? Perhaps not, because I don't think the "your current time zone" format looks right. After this change it's in minutes, rather than a string like "-07:00"
There was a problem hiding this comment.
Ok after further research I am sure this is wrong. Is there any way to exclude a single file from a commit... or should I just add a new commit which fixes, and then add it to the PR?
petulla
commented
Aug 1, 2017
These var declarations look good. I made similar changes in a working branch that converts the code to es2015 spec. |
jstray
commented
Aug 1, 2017
Resubmitting a new PR with the timezone thing reverted. |
Cannot declare variables without var.