-<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">if(typeof jQuery == "undefined"){
+<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.0
+ * Copyright(c) 2006-2010 Ext JS, Inc.
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+if(typeof jQuery == "undefined"){
throw "Unable to load Ext, jQuery not found.";
}
isAncestor : function(p, c){
var ret = false;
-
+
p = Ext.getDom(p);
c = Ext.getDom(c);
if (p && c) {
return !!(p.compareDocumentPosition(c) & 16);
} else {
while (c = c.parentNode) {
- ret = c == p || ret;
+ ret = c == p || ret;
}
- }
- }
+ }
+ }
return ret;
},
}
};
};
-
+
var createResponse = function(cb, xhr){
var headerObj = {},
- headerStr,
+ headerStr,
t,
s;
try {
- headerStr = xhr.getAllResponseHeaders();
+ headerStr = xhr.getAllResponseHeaders();
Ext.each(headerStr.replace(/\r\n/g, '\n').split('\n'), function(v){
t = v.indexOf(':');
if(t >= 0){
}
});
} catch(e) {}
-
+
return {
responseText: xhr.responseText,
responseXML : xhr.responseXML,
if (args.top.from)
e.setTop(args.top.from);
break;
+ // jQuery can't handle callback, scope, and xy arguments, so break here
case 'callback':
case 'scope':
- // jQuery can't handle callback and scope arguments, so break here
+ case 'xy':
break;
default:
}
window.attachEvent("onunload", fnCleanUp);
}
-})();</pre> \r
-</body>\r
+})();</pre>
+</body>
</html>
\ No newline at end of file