提交 2813ed04 编写于 作者: L lang

superCall, superApply return

上级 b83420ae
......@@ -48,11 +48,11 @@ define(function (require) {
// then when method of class C is called, dead loop occured.
function superCall(context, methodName) {
var args = zrUtil.slice(arguments, 2);
this.superClass.prototype[methodName].call(context, args);
return this.superClass.prototype[methodName].call(context, args);
}
function superApply(context, methodName, args) {
this.superClass.prototype[methodName].apply(context, args);
return this.superClass.prototype[methodName].apply(context, args);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册