on master help sign in
Merge pull request #755 from michaelbjames/bugfix/every
adaa555Evan Czaplicki
libraries/Native/Signal/Time.js+1−2
@@ -42,9 +42,8 @@ Elm.Native.Time.make = function(elm) {
42 var clock = NS.input(elm.timer.now());
42 var clock = NS.input(elm.timer.now());
43 function tellTime() {
43 function tellTime() {
44 elm.notify(clock.id, elm.timer.now());
44 elm.notify(clock.id, elm.timer.now());
45− elm.setTimeout(tellTime, t);
46 }
45 }
47− elm.setTimeout(tellTime, t);
46+ setInterval(tellTime, t);
48 return clock;
47 return clock;
49 }
48 }
50
49
runtime/Debugger.js+1−1
@@ -278,9 +278,9 @@ function debuggerInit(debugModule, runtime, debuggerHistory /* =undefined */) {
278 resetProgram(0);
278 resetProgram(0);
279 debugModule.watchTracker.clear();
279 debugModule.watchTracker.clear();
280 debugModule.tracePath.clearTraces();
280 debugModule.tracePath.clearTraces();
281+ debugModule.setContinue(0);
281 debugModule.clearRecordedEvents();
282 debugModule.clearRecordedEvents();
282 debugModule.clearSnapshots();
283 debugModule.clearSnapshots();
283− debugModule.setContinue(0);
284 executeCallbacks(debugModule.initialAsyncCallbacks);
284 executeCallbacks(debugModule.initialAsyncCallbacks);
285 }
285 }
286
286