X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..530ef4b6c5b943cfa68b779d11cf7de29aa878bf:/docs/source/Ext.html diff --git a/docs/source/Ext.html b/docs/source/Ext.html index fb6e70b5..ebc3d5a9 100644 --- a/docs/source/Ext.html +++ b/docs/source/Ext.html @@ -1,16 +1,21 @@ - - - - The source code - - - - -
+
+
+      
+  The source code
+    
+    
+
+
+    
/*!
+ * Ext JS Library 3.2.1
+ * Copyright(c) 2006-2010 Ext JS, Inc.
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
 // for old browsers
 window.undefined = window.undefined;
 
-/**
+
/** * @class Ext * Ext core utilities and functions. * @singleton @@ -21,7 +26,12 @@ Ext = { * The version of the framework * @type String */ - version : '3.1.1' + version : '3.2.1', + versionDetail : { + major: 3, + minor: 2, + patch: 1 + } };
/** @@ -229,7 +239,7 @@ MyGridPanel = Ext.extend(Ext.grid.GridPanel, { var oc = Object.prototype.constructor; return function(sb, sp, overrides){ - if(Ext.isObject(sp)){ + if(typeof sp == 'object'){ overrides = sp; sp = sb; sb = overrides.constructor != oc ? overrides.constructor : function(){sp.apply(this, arguments);}; @@ -477,7 +487,7 @@ Ext.urlDecode("foo=1&bar=2&bar=3&bar=4", false); // returns {foo: "1", bar: ["2" if(Ext.isIterable(obj)){ Ext.each(obj, fn, scope); return; - }else if(Ext.isObject(obj)){ + }else if(typeof obj == 'object'){ for(var prop in obj){ if(obj.hasOwnProperty(prop)){ if(fn.call(scope || obj, prop, obj[prop], obj) === false){ @@ -518,7 +528,7 @@ function(el){ if (el.dom){ return el.dom; } else { - if (Ext.isString(el)) { + if (typeof el == 'string') { var e = DOC.getElementById(el); // IE returns elements with the 'name' and 'id' attribute. // we do a strict check to return the element with only the id attribute @@ -667,7 +677,7 @@ function(el){ * @return {Boolean} */ isElement : function(v) { - return !!v && v.tagName; + return v ? !!v.tagName : false; },
/** @@ -798,7 +808,7 @@ Ext.ns("Ext.util", "Ext.lib", "Ext.data"); Ext.elCache = {}; -/** +
/** * @class Function * These functions are available on every Function object (any JavaScript function). */ @@ -960,7 +970,7 @@ sayHi.defer(2000, this, ['Fred']); } }); -/** +
/** * @class String * These functions are available on every String object. */ @@ -1022,6 +1032,6 @@ Ext.applyIf(Array.prototype, { return this; } }); -
- +
+ \ No newline at end of file