摘要: 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 ... 阅读全文
posted @ 2012-02-09 20:56 萧洛 阅读(354) 评论(0) 推荐(0) 编辑