-<html>\r
-<head>\r
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> \r
- <title>The source code</title>\r
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js">/**
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>The source code</title>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+</head>
+<body onload="prettyPrint();">
+ <pre class="prettyprint lang-js">/*!
+ * Ext JS Library 3.2.1
+ * Copyright(c) 2006-2010 Ext JS, Inc.
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+/**
* @class Ext.Element
*/
Ext.Element.addMethods({
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) :
});
Ext.Element.prototype.getUpdateManager = Ext.Element.prototype.getUpdater;
-</pre> \r
-</body>\r
+</pre>
+</body>
</html>
\ No newline at end of file