摘要: /* * config * caoke */ 'use strict'; //You can't use merge in util.js function merge(source, target){ if(typeof source === 'object' && typeof target === 'object'){ for(var key in targ... 阅读全文
posted @ 2017-01-10 15:29 无工时代 阅读(207) 评论(0) 推荐(0) 编辑
摘要: /* * config * caoke */ 'use strict'; Object.extend=function(props){ //继承父类 var prototype=Object.create(this.prototype) //初始化函数ctor var _Class=function(){ if(arguments.leng... 阅读全文
posted @ 2017-01-10 15:17 无工时代 阅读(182) 评论(0) 推荐(0) 编辑