-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-Ajax'>/**
+<!DOCTYPE html>
+<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>
+ <style type="text/css">
+ .highlight { display: block; background-color: #ddd; }
+ </style>
+ <script type="text/javascript">
+ function highlight() {
+ document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+ }
+ </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+ <pre class="prettyprint lang-js"><span id='Ext-Ajax'>/**
</span> * @class Ext.Ajax
* @singleton
* @markdown
}
});
-Default options for all requests can be set be changing a property on the Ext.Ajax class:
+Default options for all requests can be set by changing a property on the Ext.Ajax class:
Ext.Ajax.timeout = 60000; // 60 seconds
*/
<span id='Ext-Ajax-property-disableCaching'> /**
-</span> * @property disableCaching
- * True to add a unique cache-buster param to GET requests. (defaults to true)
- * @type Boolean
+</span> * @property {Boolean} disableCaching
+ * True to add a unique cache-buster param to GET requests. Defaults to true.
*/
<span id='Ext-Ajax-property-url'> /**
-</span> * @property url
- * The default URL to be used for requests to the server. (defaults to undefined)
+</span> * @property {String} url
+ * The default URL to be used for requests to the server.
* If the server receives all requests through one URL, setting this once is easier than
* entering it on every request.
- * @type String
*/
<span id='Ext-Ajax-property-extraParams'> /**
-</span> * @property extraParams
+</span> * @property {Object} extraParams
* An object containing properties which are used as extra parameters to each request made
- * by this object (defaults to undefined). Session information and other data that you need
+ * by this object. Session information and other data that you need
* to pass with each request are commonly put here.
- * @type Object
*/
<span id='Ext-Ajax-property-defaultHeaders'> /**
-</span> * @property defaultHeaders
- * An object containing request headers which are added to each request made by this object
- * (defaults to undefined).
- * @type Object
+</span> * @property {Object} defaultHeaders
+ * An object containing request headers which are added to each request made by this object.
*/
<span id='Ext-Ajax-property-method'> /**
-</span> * @property method
+</span> * @property {String} method
* The default HTTP method to be used for requests. Note that this is case-sensitive and
- * should be all caps (defaults to undefined; if not set but params are present will use
+ * should be all caps (if not set but params are present will use
* <tt>"POST"</tt>, otherwise will use <tt>"GET"</tt>.)
- * @type String
*/
<span id='Ext-Ajax-property-timeout'> /**
-</span> * @property timeout
- * The timeout in milliseconds to be used for requests. (defaults to 30000)
- * @type Number
+</span> * @property {Number} timeout
+ * The timeout in milliseconds to be used for requests. Defaults to 30000.
*/
<span id='Ext-Ajax-property-autoAbort'> /**
-</span> * @property autoAbort
- * Whether a new request should abort any pending requests. (defaults to false)
- * @type Boolean
+</span> * @property {Boolean} autoAbort
+ * Whether a new request should abort any pending requests.
*/
autoAbort : false
-});</pre></pre></body></html>
\ No newline at end of file
+});</pre>
+</body>
+</html>