摘要: function extend(Child, Parent) { var F = function(){}; F.prototype = Parent.prototype; Child.prototype = new F(); Child.prototype.constructor = Child; Child.uber = Parent.pr... 阅读全文
posted @ 2011-06-29 09:22 sirzxj 阅读(147) 评论(0) 推荐(0) 编辑