mirror of https://github.com/axmolengine/axmol.git
issue #2823: Removing unused file 'main.debug.js'.
This commit is contained in:
parent
6185f6fac2
commit
43b4269c11
|
@ -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();
|
|
||||||
}
|
|
Loading…
Reference in New Issue