<script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
</head>\r
<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js">/**\r
+ <pre class="prettyprint lang-js"><div id="cls-Ext.CompositeElementLite"></div>/**\r
* @class Ext.CompositeElementLite\r
* <p>This class encapsulates a <i>collection</i> of DOM elements, providing methods to filter\r
* members, or to perform collective actions upon the whole set.</p>\r
var me = this,\r
els = me.elements,\r
len = els.length, \r
- e;\r
+ e, \r
+ i;\r
\r
- for(i = 0; i<len; i++) {\r
+ for(i = 0; i < len; i++) {\r
e = els[i];\r
if(e){\r
Ext.Element.prototype[fn].apply(me.getElement(e), args);\r
e = els[i];\r
if(e){\r
e = this.getElement(e);\r
- if(fn.call(scope || e, e, me, i)){\r
+ if(fn.call(scope || e, e, me, i) === false){\r
break;\r
}\r
}\r