摘要: 直接上代码: var extend = function(destination, source, override) { if (override === undefined) override = true; for (var property in source) { if (!override && typeof(source[property]) == 'function' && destination.hasOwnProperty(property)) { destination[property... 阅读全文
posted @ 2012-03-27 11:44 oneroundseven 阅读(218) 评论(0) 推荐(0) 编辑