如题,使用apply,或者call来模拟
var baseClass = cc.LayerColor.extend({
ctor:function(){
this._super();
},
destory:function(){
console.log("hello,world.");
}
})
var subClass = baseClass.extend({
ctor:function(){
this._super();
},
destory:function(){
BaseLayer.prototype.destory.apply(this,arguments);
}
})