@@ -21,7 +21,7 @@ Elm.Native.Time.make = function(elm) {
21 * or minutes, we introduce a way to offset real time by the amount
21 * or minutes, we introduce a way to offset real time by the amount
22 * of time spend paused.
22 * of time spend paused.
24− curr = Date.now() - (offset|0 || 0);
24+ curr = Date.now() - (offset|0;
25 diff = zero ? 0 : curr - prev;
25 diff = zero ? 0 : curr - prev;
26 prev = curr;
26 prev = curr;
27 elm.notify(ticker.id, diff);
27 elm.notify(ticker.id, diff);
@@ -44,7 +44,7 @@ Elm.Native.Time.make = function(elm) {
44 var clock = NS.input(Date.now());
44 var clock = NS.input(Date.now());
45 function tellTime(offset) {
45 function tellTime(offset) {
46 // Leave the offset. It's for debugging. See above.
46 // Leave the offset. It's for debugging. See above.
47− elm.notify(clock.id, Date.now() - (offset|0 || 0));
47+ elm.notify(clock.id, Date.now() - (offset|0));
48 elm.runDelayed(tellTime, t);
48 elm.runDelayed(tellTime, t);
50 elm.runDelayed(tellTime, t);
50 elm.runDelayed(tellTime, t);