git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.2.1 - Released 04/27/2010
[extjs.git]
/
docs
/
source
/
Element-more.html
diff --git
a/docs/source/Element-more.html
b/docs/source/Element-more.html
index
472487c
..
d11fee8
100644
(file)
--- a/
docs/source/Element-more.html
+++ b/
docs/source/Element-more.html
@@
-7,7
+7,7
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.2.
0
+ * Ext JS Library 3.2.
1
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
@@
-117,7
+117,7
@@
Ext.Element.addMethods({
if(loadScripts !== true){
this.dom.innerHTML = html;
if(loadScripts !== true){
this.dom.innerHTML = html;
- if(
Ext.isFunction(callback)
){
+ if(
typeof callback == 'function'
){
callback();
}
return this;
callback();
}
return this;
@@
-162,7
+162,7
@@
Ext.Element.addMethods({
}
el = DOC.getElementById(id);
if(el){Ext.removeNode(el);}
}
el = DOC.getElementById(id);
if(el){Ext.removeNode(el);}
- if(
Ext.isFunction(callback)
){
+ if(
typeof callback == 'function'
){
callback();
}
});
callback();
}
});
@@
-185,7
+185,7
@@
Ext.Element.addMethods({
* @return {Ext.Element} The new proxy element
*/
createProxy : function(config, renderTo, matchBox){
* @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) :
var me = this,
proxy = renderTo ? Ext.DomHelper.append(renderTo, config, true) :