Skip to content

Commit 704b2ec

Browse files
author
James Chen
committed
Removing some unused codes.
1 parent f192e7a commit 704b2ec

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

games/MoonWarriors/src/SparkEffect.js

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ var SparkEffect = cc.Class.extend({
55
scale:1.2,
66
duration:0.7,
77
ctor:function () {
8-
this._super();
9-
108
this.spark1 = cc.Sprite.createWithSpriteFrameName("explode2.png");
119
this.spark1.setBlendFunc(gl.SRC_ALPHA, gl.ONE);
1210
this.spark2 = cc.Sprite.createWithSpriteFrameName("explode3.png");

tests/SceneTest/SceneTest.js

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ SceneTestLayer1 = cc.Layer.extend({
5353
var rotate = cc.RotateBy.create(2, 360);
5454
var repeat = cc.RepeatForever.create(rotate);
5555
sprite.runAction(repeat);
56-
this._super();
5756
//cc.schedule(this.testDealloc);
5857
},
5958

0 commit comments

Comments
 (0)