@@ -10,7 +10,7 @@ if (!window.location.origin) {
12Elm.Debugger = null;
12Elm.Debugger = null;
13−Elm.debuggerAttach = function(module, hotSwapState /* =undefined */) {
13+Elm.debuggerAttach = function(module, hotSwapState) {
15 make: function(runtime) {
15 make: function(runtime) {
16 var wrappedModule = debugModule(module, runtime);
16 var wrappedModule = debugModule(module, runtime);
@@ -23,7 +23,7 @@ Elm.debuggerAttach = function(module, hotSwapState /* =undefined */) {
24function dispatchElmDebuggerInit() {
24function dispatchElmDebuggerInit() {
25 if (parent.window) {
25 if (parent.window) {
26− var dispatch = function(_) {
26+ var dispatch = function() {
27 parent.window.postMessage("elmDebuggerInit", window.location.origin);
27 parent.window.postMessage("elmDebuggerInit", window.location.origin);
29 if (parent.window.document.readyState === "complete") {
29 if (parent.window.document.readyState === "complete") {
@@ -123,7 +123,7 @@ function debugModule(module, runtime) {
123 if (position > 0) {
123 if (position > 0) {
124 // If we're not unpausing at the head, then we need to dump the
124 // If we're not unpausing at the head, then we need to dump the
125 // events that are ahead of where we're continuing.
125 // events that are ahead of where we're continuing.
126− recordedEvents = recordedEvents.slice(0,position);
126+ recordedEvents = recordedEvents.slice(0, position);
127 executeCallbacks(asyncCallbacks, false);
127 executeCallbacks(asyncCallbacks, false);
129 tracePath.startRecording();
129 tracePath.startRecording();
@@ -177,7 +177,7 @@ function debugModule(module, runtime) {
180−function debuggerInit(debugModule, runtime, hotSwapState /* =undefined */) {
180+function debuggerInit(debugModule, runtime, hotSwapState) {
181 var currentEventIndex = 0;
181 var currentEventIndex = 0;
183 function resetProgram() {
183 function resetProgram() {
@@ -203,7 +203,7 @@ function debuggerInit(debugModule, runtime, hotSwapState /* =undefined */) {
203 function continueProgram() {
203 function continueProgram() {
204 if (debugModule.getPaused())
204 if (debugModule.getPaused())
206− if(currentEventIndex === 0) {
206+ if (currentEventIndex === 0) {
207 restartProgram();
207 restartProgram();