fix fireball-x/fireball#433: Shielding original cc.Node and cc.Scene

This commit is contained in:
knoxHuang
2015-12-09 14:52:41 +08:00
parent 8e7a29562c
commit ebeb018a97
174 changed files with 916 additions and 913 deletions
@@ -48,17 +48,17 @@ var AudioEngineBase = BaseTestLayer.extend({
new NativeTestScene().runThisTest();
},
onRestartCallback:function (sender) {
var s = new cc.Scene();
var s = new _ccsg.Scene();
s.addChild(AudioTestFlow.current());
director.runScene(s);
},
onNextCallback:function (sender) {
var s = new cc.Scene();
var s = new _ccsg.Scene();
s.addChild(AudioTestFlow.next());
director.runScene(s);
},
onBackCallback:function (sender) {
var s = new cc.Scene();
var s = new _ccsg.Scene();
s.addChild(AudioTestFlow.previous());
director.runScene(s);
},