on master help sign in
readability that hotSwapState is optional
commita79e903ae0c106872264332765717f969f069f0e authorMichael James <michael@michaelbjames.com> dateWed 23 Jul 2014, 17:21 (12 years ago) parent8e44dcb
1 file changed+2−2
runtime/Debugger.js+2−2
runtime/Debugger.js+2−2
@@ -9,7 +9,7 @@ if (!window.location.origin) {
99}
1010
1111Elm.Debugger = null;
12−Elm.debuggerAttach = function(module, hotSwapState) {
12+Elm.debuggerAttach = function(module, hotSwapState /* =undefined */) {
1313 return {
1414 make: function(runtime) {
1515 var wrappedModule = debugModule(module, runtime);
@@ -177,7 +177,7 @@ function debugModule(module, runtime) {
177177 };
178178}
179179
180−function debuggerInit(debugModule, runtime, hotSwapState) {
180+function debuggerInit(debugModule, runtime, hotSwapState /* =undefined */) {
181181 var currentEventIndex = 0;
182182
183183 function resetProgram() {