mirror of https://github.com/axmolengine/axmol.git
Fixed #1841, obfuscated js source can run on iOS correctly now.
This commit is contained in:
parent
c52bbec5bc
commit
42c73fb820
|
@ -46,8 +46,11 @@ bool AppDelegate::applicationDidFinishLaunching()
|
||||||
|
|
||||||
CCScriptEngineProtocol *pEngine = ScriptingCore::getInstance();
|
CCScriptEngineProtocol *pEngine = ScriptingCore::getInstance();
|
||||||
CCScriptEngineManager::sharedManager()->setScriptEngine(pEngine);
|
CCScriptEngineManager::sharedManager()->setScriptEngine(pEngine);
|
||||||
|
#ifdef JS_OBFUSCATED
|
||||||
|
ScriptingCore::getInstance()->runScript("game.js");
|
||||||
|
#else
|
||||||
ScriptingCore::getInstance()->runScript("tests-boot-jsb.js");
|
ScriptingCore::getInstance()->runScript("tests-boot-jsb.js");
|
||||||
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
39fc797c760757f336e4a6a12a05d8d7dd6bcf22
|
e1f03e3925993f54e478def7760c0c849140f5d3
|
|
@ -68,7 +68,7 @@
|
||||||
<file name="TransitionsTest/TransitionsTest.js"/>
|
<file name="TransitionsTest/TransitionsTest.js"/>
|
||||||
<file name="UnitTest/UnitTest.js"/>
|
<file name="UnitTest/UnitTest.js"/>
|
||||||
<file name="SysTest/SysTest.js"/>
|
<file name="SysTest/SysTest.js"/>
|
||||||
<file name="tests-boot-jsb.js"/>
|
<file name="tests-boot-jsb-for-obfuscation.js"/>
|
||||||
</sources>
|
</sources>
|
||||||
</jscomp>
|
</jscomp>
|
||||||
</target>
|
</target>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
bfa92b3b92891e3db2f669e67b026d155be02dd8
|
0b29dbaef87c1e7f69eea235667a2e278bec0062
|
|
@ -216,6 +216,52 @@ CSSProperties.prototype.SimpleMotor;
|
||||||
CSSProperties.prototype.Base;
|
CSSProperties.prototype.Base;
|
||||||
CSSProperties.prototype._v;
|
CSSProperties.prototype._v;
|
||||||
CSSProperties.prototype.vadd;
|
CSSProperties.prototype.vadd;
|
||||||
|
CSSProperties.prototype.getHandle;
|
||||||
|
CSSProperties.prototype.getGravity;
|
||||||
|
CSSProperties.prototype.getIterations;
|
||||||
|
CSSProperties.prototype.getDamping;
|
||||||
|
CSSProperties.prototype.getStaticBody;
|
||||||
|
CSSProperties.prototype.getIdleSpeedThreshold;
|
||||||
|
CSSProperties.prototype.getSleepTimeThreshold;
|
||||||
|
CSSProperties.prototype.getCollisionSlop;
|
||||||
|
CSSProperties.prototype.getCollisionBias;
|
||||||
|
CSSProperties.prototype.getCollisionPersistence;
|
||||||
|
CSSProperties.prototype.getEnableContactGraph;
|
||||||
|
CSSProperties.prototype.getAngle;
|
||||||
|
CSSProperties.prototype.getAngVel;
|
||||||
|
CSSProperties.prototype.getPos;
|
||||||
|
CSSProperties.prototype.getVel;
|
||||||
|
CSSProperties.prototype.getMoment;
|
||||||
|
CSSProperties.prototype.getBody;
|
||||||
|
CSSProperties.prototype.getGroup;
|
||||||
|
CSSProperties.prototype.getCollisionType;
|
||||||
|
CSSProperties.prototype.getMaxForce;
|
||||||
|
CSSProperties.prototype.getAnchr1;
|
||||||
|
CSSProperties.prototype.getAnchr2;
|
||||||
|
CSSProperties.prototype.setHandle;
|
||||||
|
CSSProperties.prototype._setSpace;
|
||||||
|
CSSProperties.prototype._setCPBody;
|
||||||
|
CSSProperties.prototype.setGravity;
|
||||||
|
CSSProperties.prototype.setIterations;
|
||||||
|
CSSProperties.prototype.setDamping;
|
||||||
|
CSSProperties.prototype.setStaticBody;
|
||||||
|
CSSProperties.prototype.setIdleSpeedThreshold;
|
||||||
|
CSSProperties.prototype.setSleepTimeThreshold;
|
||||||
|
CSSProperties.prototype.setCollisionSlop;
|
||||||
|
CSSProperties.prototype.setCollisionBias;
|
||||||
|
CSSProperties.prototype.setCollisionPersistence;
|
||||||
|
CSSProperties.prototype.setEnableContactGraph;
|
||||||
|
CSSProperties.prototype.setAngle;
|
||||||
|
CSSProperties.prototype.setAngVel;
|
||||||
|
CSSProperties.prototype.setPos;
|
||||||
|
CSSProperties.prototype.setVel;
|
||||||
|
CSSProperties.prototype.setMoment;
|
||||||
|
CSSProperties.prototype.setBody;
|
||||||
|
CSSProperties.prototype.setGroup;
|
||||||
|
CSSProperties.prototype.setCollisionType;
|
||||||
|
CSSProperties.prototype.setMaxForce;
|
||||||
|
CSSProperties.prototype.setAnchr1;
|
||||||
|
CSSProperties.prototype.setAnchr2;
|
||||||
CSSProperties.prototype.vclamp;
|
CSSProperties.prototype.vclamp;
|
||||||
CSSProperties.prototype.vcross;
|
CSSProperties.prototype.vcross;
|
||||||
CSSProperties.prototype.vdist;
|
CSSProperties.prototype.vdist;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
53903a43bca6db80414ef79082db3b4063514ab6
|
f92eb40bc776570519509464d3f3ba6e9d93d3a9
|
Loading…
Reference in New Issue