@@ -39,13 +39,15 @@ function debugModule(module, runtime) {
3939 if (programPaused) {
4040 // ignore async events generated while playing back
4141 // or user events while program is paused
42+ return false;
4243 }
4344 else {
44− runtime.notify(id, v, timestep);
45+ var changed = runtime.notify(id, v, timestep);
4546 recordEvent(id, v, timestep);
4647 if (parent.window) {
4748 parent.window.postMessage("elmNotify", window.location.origin);
4849 }
50+ return changed;
4951 }
5052 };
5153