摘要:
prototype实现组件:View Code 1 (function () { 2 var sss = function (param) { 3 this._init.call(this, param); 4 }; 5 sss.prototype = { 6 _init: function (param) { alert(param.id); this._param = param; this.callback = param.fncall; }, 7 ... 阅读全文