2013年5月14日

摘要: Ext.getCmp(id).items.each(function(item) { //return; //相当于continue //return true; //相当于continue return false; //相当于break });原理:从.each的源码可以看到function(C,$){var B=[].concat(this.items);for(var A=0,_=B.length;A<_;A++)if(C.call($||B[A],B[A],A... 阅读全文
posted @ 2013-05-14 10:56 我的台词很简单 阅读(961) 评论(0) 推荐(0) 编辑

导航