X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/src/Ajax.js diff --git a/src/Ajax.js b/src/Ajax.js index 7d02cce7..ff154088 100644 --- a/src/Ajax.js +++ b/src/Ajax.js @@ -80,47 +80,39 @@ 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 * "POST", otherwise will use "GET".) - * @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 });