obj.method = (function (old) {
var self = this, arg = arguments;
return function () {
old.apply(self, arg);
//...
}
})(obj.method);
var self = this, arg = arguments;
return function () {
old.apply(self, arg);
//...
}
})(obj.method);
コメントする