X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/src/core/CompositeElementLite-more.js..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/src/core/src/dom/CompositeElementLite-more.js diff --git a/src/core/CompositeElementLite-more.js b/src/core/src/dom/CompositeElementLite-more.js similarity index 81% rename from src/core/CompositeElementLite-more.js rename to src/core/src/dom/CompositeElementLite-more.js index ade6ddd0..5adeb4bf 100644 --- a/src/core/CompositeElementLite-more.js +++ b/src/core/src/dom/CompositeElementLite-more.js @@ -1,9 +1,3 @@ -/*! - * Ext JS Library 3.3.1 - * Copyright(c) 2006-2010 Sencha Inc. - * licensing@sencha.com - * http://www.sencha.com/license - */ /** * @class Ext.CompositeElementLite */ @@ -13,7 +7,7 @@ Ext.apply(Ext.CompositeElementLite.prototype, { return this; } if(typeof els == "string"){ - els = Ext.Element.selectorFunction(els, root); + els = Ext.core.Element.selectorFunction(els, root); } var yels = this.elements; Ext.each(els, function(e) { @@ -24,7 +18,7 @@ Ext.apply(Ext.CompositeElementLite.prototype, { /** * Returns the first Element - * @return {Ext.Element} + * @return {Ext.core.Element} */ first : function(){ return this.item(0); @@ -32,7 +26,7 @@ Ext.apply(Ext.CompositeElementLite.prototype, { /** * Returns the last Element - * @return {Ext.Element} + * @return {Ext.core.Element} */ last : function(){ return this.item(this.getCount()-1); @@ -40,7 +34,7 @@ Ext.apply(Ext.CompositeElementLite.prototype, { /** * Returns true if this composite contains the passed element - * @param el {Mixed} The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection. + * @param el {Mixed} The id of an element, or an Ext.core.Element, or an HtmlElement to find within the composite collection. * @return Boolean */ contains : function(el){