From 43b4269c1179c54938a6119413c509a890502bf5 Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 8 Oct 2013 14:34:22 +0800 Subject: [PATCH] issue #2823: Removing unused file 'main.debug.js'. --- .../javascript/bindings/js/main.debug.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 scripting/javascript/bindings/js/main.debug.js diff --git a/scripting/javascript/bindings/js/main.debug.js b/scripting/javascript/bindings/js/main.debug.js deleted file mode 100644 index 1dbd9a1107..0000000000 --- a/scripting/javascript/bindings/js/main.debug.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * bootstrap for the debugger. You can test to see if the debugger is loaded by checking the type of - * `startDebugger`. If that function is defined, then you should call it with the global object, - * which at this point is `this`, the array of files that you need to load (usually is just your - * main javascript), and the function that needs to be called to start your game, as a string. - * If the `startDebugger` function is not defined, then you just require your files and start your - * game :) - */ -var files = ['MoonWarriors-jsb.js']; -if (typeof startDebugger !== "undefined") { - cc.log("**** will start debugger ****"); - startDebugger(this, files); -} else { - cc.log("**** no debugger loaded ****"); - for (var i in files) { - require(files[i]); - } -// run(); -}