-<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.3.0
+ * Copyright(c) 2006-2010 Ext JS, Inc.
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
// for old browsers
window.undefined = window.undefined;
-/**
+<div id="cls-Ext"></div>/**
* @class Ext
* Ext core utilities and functions.
* @singleton
* The version of the framework
* @type String
*/
- version : '3.1.1'
+ version : '3.3.0',
+ versionDetail : {
+ major : 3,
+ minor : 3,
+ patch : 0
+ }
};
<div id="method-Ext-apply"></div>/**
return r.test(ua);
},
DOC = document,
+ docMode = DOC.documentMode,
isStrict = DOC.compatMode == "CSS1Compat",
isOpera = check(/opera/),
isChrome = check(/\bchrome\b/),
isSafari3 = isSafari && check(/version\/3/),
isSafari4 = isSafari && check(/version\/4/),
isIE = !isOpera && check(/msie/),
- isIE7 = isIE && check(/msie 7/),
- isIE8 = isIE && check(/msie 8/),
+ isIE7 = isIE && (check(/msie 7/) || docMode == 7),
+ isIE8 = isIE && (check(/msie 8/) && docMode != 7),
isIE6 = isIE && !isIE7 && !isIE8,
isGecko = !isWebKit && check(/gecko/),
isGecko2 = isGecko && check(/rv:1\.8/),
* @property enableFx
*/
+ <div id="prop-Ext-enableForcedBoxModel"></div>/**
+ * HIGHLY EXPERIMENTAL
+ * True to force css based border-box model override and turning off javascript based adjustments. This is a
+ * runtime configuration and must be set before onReady.
+ * @type Boolean
+ */
+ enableForcedBoxModel : false,
+
<div id="prop-Ext-enableGarbageCollector"></div>/**
* True to automatically uncache orphaned Ext.Elements periodically (defaults to true)
* @type Boolean
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);};
} :
function(a, i, j){
return Array.prototype.slice.call(a, i || 0, j || a.length);
- }
+ };
}(),
isIterable : function(v){
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){
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
getBody : function(){
return Ext.get(DOC.body || DOC.documentElement);
},
+
+ <div id="method-Ext-getHead"></div>/**
+ * 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;
+ };
+ }(),
<div id="prop-Ext-"></div>/**
* 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);
* @return {Boolean}
*/
isElement : function(v) {
- return !!v && v.tagName;
+ return v ? !!v.tagName : false;
},
<div id="method-Ext-isDefined"></div>/**
Ext.ns = Ext.namespace;
})();
-Ext.ns("Ext.util", "Ext.lib", "Ext.data");
+Ext.ns('Ext.util', 'Ext.lib', 'Ext.data', 'Ext.supports');
Ext.elCache = {};
-/**
+<div id="cls-Function"></div>/**
* @class Function
* These functions are available on every Function object (any JavaScript function).
*/
}
});
-/**
+<div id="cls-String"></div>/**
* @class String
* These functions are available on every String object.
*/
return this;
}
});
-</pre> \r
-</body>\r
+</pre>
+</body>
</html>
\ No newline at end of file