Skip to content

Commit 7cb9809

Browse files
author
walzer
committed
add tests-boot-js-for-obfuscation.js as an entry
After obfuscation, all js files will be combined to one "game.js". So all "require" keywords should be removed, otherwise the errors "can not find xxx.js" will raise.
1 parent d092f69 commit 7cb9809

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

tests/PerformanceTest/PerformanceAnimationTest.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ var AnimationMenuLayer = PerformBasicLayer.extend({
7474
performTests:function () {
7575

7676
}
77-
})
77+
});
7878

7979
////////////////////////////////////////////////////////
8080
//
@@ -158,7 +158,7 @@ var AnimationTest = AnimationMenuLayer.extend({
158158

159159
this.lastRenderedCount = this.numNodes;
160160
}
161-
},
161+
}
162162
});
163163

164164
var CharacterView = cc.Node.extend({
@@ -219,7 +219,7 @@ var CharacterView = cc.Node.extend({
219219

220220
setDistance: function(){
221221
leftX = leftItem.getPositionX();
222-
},
222+
}
223223
});
224224

225225
AnimationTest.scene = function () {
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// JS Bindings constants
2+
var scene = cc.Scene.create();
3+
var layer = new TestController();
4+
scene.addChild(layer);
5+
director.runWithScene(scene);

0 commit comments

Comments
 (0)