摘要: var moudleFactory={ setFunction:function(moudle, instance) { if (instance === undefined) instance = {}; for (var i in moudle) { if (i !== "getInstance") { instance[i] = moudle[i]; } } return instance; }, moudle:{ ... 阅读全文
posted @ 2013-10-11 10:38 HeiMan 阅读(179) 评论(0) 推荐(0) 编辑