/*!
- * Ext JS Library 3.1.0
- * Copyright(c) 2006-2009 Ext JS, LLC
+ * Ext JS Library 3.2.1
+ * Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
if(loadScripts !== true){
this.dom.innerHTML = html;
- if(Ext.isFunction(callback)){
+ if(typeof callback == 'function'){
callback();
}
return this;
}
el = DOC.getElementById(id);
if(el){Ext.removeNode(el);}
- if(Ext.isFunction(callback)){
+ if(typeof callback == 'function'){
callback();
}
});
* @return {Ext.Element} The new proxy element
*/
createProxy : function(config, renderTo, matchBox){
- config = Ext.isObject(config) ? config : {tag : "div", cls: config};
+ config = (typeof config == 'object') ? config : {tag : "div", cls: config};
var me = this,
proxy = renderTo ? Ext.DomHelper.append(renderTo, config, true) :