mirror of https://github.com/axmolengine/axmol.git
Merge branch 'v3' of github.com:cocos2d/cocos2d-x into v3
This commit is contained in:
commit
a8a0516bf4
|
@ -152,6 +152,9 @@ bool AppDelegate::applicationDidFinishLaunching()
|
|||
#endif
|
||||
sc->start();
|
||||
sc->runScript("script/jsb_boot.js");
|
||||
#if defined(COCOS2D_DEBUG) && (COCOS2D_DEBUG > 0)
|
||||
sc->enableDebugger();
|
||||
#endif
|
||||
ScriptEngineProtocol *engine = ScriptingCore::getInstance();
|
||||
ScriptEngineManager::getInstance()->setScriptEngine(engine);
|
||||
ScriptingCore::getInstance()->runScript("main.js");
|
||||
|
|
|
@ -72,6 +72,9 @@ bool AppDelegate::applicationDidFinishLaunching()
|
|||
ScriptingCore* sc = ScriptingCore::getInstance();
|
||||
sc->start();
|
||||
sc->runScript("script/jsb_boot.js");
|
||||
#if defined(COCOS2D_DEBUG) && (COCOS2D_DEBUG > 0)
|
||||
sc->enableDebugger();
|
||||
#endif
|
||||
ScriptEngineProtocol *engine = ScriptingCore::getInstance();
|
||||
ScriptEngineManager::getInstance()->setScriptEngine(engine);
|
||||
ScriptingCore::getInstance()->runScript("main.js");
|
||||
|
|
Loading…
Reference in New Issue