@@ -40,8 +40,8 @@ function debugModule(module, runtime) {
40 // runtime is the prototype of wrappedRuntime
40 // runtime is the prototype of wrappedRuntime
41 // so we can access all runtime properties too
41 // so we can access all runtime properties too
42 var wrappedRuntime = Object.create(runtime);
42 var wrappedRuntime = Object.create(runtime);
43− wrappedRuntime.notify = wrapNotify;
43+ wrappedRuntime.notify = notifyWrapper;
44− wrappedRuntime.runDelayed = wrapRunDelayed;
44+ wrappedRuntime.runDelayed = setTimeoutWrapper;
46 // make a copy of the wrappedRuntime
46 // make a copy of the wrappedRuntime
47 var assignedPropTracker = Object.create(wrappedRuntime);
47 var assignedPropTracker = Object.create(wrappedRuntime);
@@ -64,7 +64,7 @@ function debugModule(module, runtime) {
65 snapshots.push(snapshotSignalGraph(signalGraphNodes));
65 snapshots.push(snapshotSignalGraph(signalGraphNodes));
67− function wrapNotify(id, v) {
67+ function notifyWrapper(id, v) {
68 var timestep = runtime.timer.now();
68 var timestep = runtime.timer.now();
70 if (programPaused) {
70 if (programPaused) {
@@ -83,7 +83,7 @@ function debugModule(module, runtime) {
86− function wrapRunDelayed(func, delayMs) {
86+ function setTimeoutWrapper(func, delayMs) {
87 if (programPaused) {
87 if (programPaused) {
88 // Don't push timers and such to the callback stack while we're paused.
88 // Don't push timers and such to the callback stack while we're paused.
89 // It causes too many callbacks to be fired during unpausing.
89 // It causes too many callbacks to be fired during unpausing.