摘要: var $ = function(id) { return "string" == typeof id ? document.getElementById(id) : id; }; var Class = { create: function() { return function() { this.initialize.apply(this, arguments); } } } Object.extend = function(destination, source) { for (var property in source) { destination[propert 阅读全文
posted @ 2012-04-26 18:38 cwe 阅读(1296) 评论(0) 推荐(0) 编辑