X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..refs/heads/master:/docs/source/Ajax.html diff --git a/docs/source/Ajax.html b/docs/source/Ajax.html index f00de75d..8e510f12 100644 --- a/docs/source/Ajax.html +++ b/docs/source/Ajax.html @@ -1,4 +1,21 @@ -
\ No newline at end of file +}); + +/** + + + + +The source code + + + + + + +/** * @class Ext.Ajax * @singleton * @markdown @@ -18,7 +35,7 @@ is used to communicate with your server side code. It can be used as follows: } }); -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 @@ -66,47 +83,41 @@ Ext.define('Ext.Ajax', { */ /** - * @property disableCaching - * True to add a unique cache-buster param to GET requests. (defaults to true) - * @type Boolean +* @property {Boolean} disableCaching + * True to add a unique cache-buster param to GET requests. Defaults to true. */ /** - * @property url - * The default URL to be used for requests to the server. (defaults to undefined) + * @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 */ /** - * @property extraParams + * @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 */ /** - * @property defaultHeaders - * An object containing request headers which are added to each request made by this object - * (defaults to undefined). - * @type Object + * @property {Object} defaultHeaders + * An object containing request headers which are added to each request made by this object. */ /** - * @property method + * @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 */ /** - * @property timeout - * The timeout in milliseconds to be used for requests. (defaults to 30000) - * @type Number + * @property {Number} timeout + * The timeout in milliseconds to be used for requests. Defaults to 30000. */ /** - * @property autoAbort - * Whether a new request should abort any pending requests. (defaults to false) - * @type Boolean + * @property {Boolean} autoAbort + * Whether a new request should abort any pending requests. */ autoAbort : false -});