/*!
- * Ext JS Library 3.2.1
+ * Ext JS Library 3.2.2
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* The version of the framework
* @type String
*/
- version : '3.2.1',
+ version : '3.2.2',
versionDetail : {
major: 3,
minor: 2,
- patch: 1
+ patch: 2
}
};
} :
function(a, i, j){
return Array.prototype.slice.call(a, i || 0, j || a.length);
- }
+ };
}(),
isIterable : function(v){
getBody : function(){
return Ext.get(DOC.body || DOC.documentElement);
},
+
+ /**
+ * Returns the current document body as an {@link Ext.Element}.
+ * @return Ext.Element The document body
+ */
+ getHead : function() {
+ var head;
+
+ return function() {
+ if (head == undefined) {
+ head = Ext.get(DOC.getElementsByTagName("head")[0]);
+ }
+
+ return head;
+ };
+ }(),
/**
* Removes a DOM node from the document.
d.innerHTML = '';
delete Ext.elCache[n.id];
}
- }
+ };
}() : function(n){
if(n && n.parentNode && n.tagName != 'BODY'){
(Ext.enableNestedListenerRemoval) ? Ext.EventManager.purgeElement(n, true) : Ext.EventManager.removeAll(n);