摘要: 1 <script type="text/javascript"> 2 //适配器模式 3 function ada(str){ 4 config = { 5 'type1':{name:'jack'}, 6 'type2':{name:'longze'} 7 }; 8 9 var currentObj = eval('config.'+... 阅读全文
posted @ 2013-03-22 18:28 龙则 阅读(300) 评论(0) 推荐(0) 编辑