on master help sign in
readability that hotSwapState is optional
a79e903Michael James
runtime/Debugger.js+2−2
@@ -9,7 +9,7 @@ if (!window.location.origin) {
9}
9}
10
10
11Elm.Debugger = null;
11Elm.Debugger = null;
12−Elm.debuggerAttach = function(module, hotSwapState) {
12+Elm.debuggerAttach = function(module, hotSwapState /* =undefined */) {
13 return {
13 return {
14 make: function(runtime) {
14 make: function(runtime) {
15 var wrappedModule = debugModule(module, runtime);
15 var wrappedModule = debugModule(module, runtime);
@@ -177,7 +177,7 @@ function debugModule(module, runtime) {
177 };
177 };
178}
178}
179
179
180−function debuggerInit(debugModule, runtime, hotSwapState) {
180+function debuggerInit(debugModule, runtime, hotSwapState /* =undefined */) {
181 var currentEventIndex = 0;
181 var currentEventIndex = 0;
182
182
183 function resetProgram() {
183 function resetProgram() {