X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Ajax2.html diff --git a/docs/source/Ajax2.html b/docs/source/Ajax2.html index 47aacef5..788f5581 100644 --- a/docs/source/Ajax2.html +++ b/docs/source/Ajax2.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @author Ed Spencer
* @class Ext.data.proxy.Ajax
* @extends Ext.data.proxy.Server
@@ -237,7 +254,7 @@ Ext.define('Ext.data.proxy.Ajax', {
alias: 'proxy.ajax',
alternateClassName: ['Ext.data.HttpProxy', 'Ext.data.AjaxProxy'],
- /**
+ /**
* @property actionMethods
* Mapping of action name to HTTP request method. In the basic AjaxProxy these are set to 'GET' for 'read' actions and 'POST'
* for 'create', 'update' and 'destroy' actions. The {@link Ext.data.proxy.Rest} maps these to the correct RESTful methods.
@@ -249,11 +266,11 @@ Ext.define('Ext.data.proxy.Ajax', {
destroy: 'POST'
},
- /**
+ /**
* @cfg {Object} headers Any headers to add to the Ajax request. Defaults to <tt>undefined</tt>.
*/
- /**
+ /**
* @ignore
*/
doRequest: function(operation, callback, scope) {
@@ -278,7 +295,7 @@ Ext.define('Ext.data.proxy.Ajax', {
return request;
},
- /**
+ /**
* Returns the HTTP method name for a given request. By default this returns based on a lookup on {@link #actionMethods}.
* @param {Ext.data.Request} request The request object
* @return {String} The HTTP method to use (should be one of 'GET', 'POST', 'PUT' or 'DELETE')
@@ -287,7 +304,7 @@ Ext.define('Ext.data.proxy.Ajax', {
return this.actionMethods[request.action];
},
- /**
+ /**
* @private
* TODO: This is currently identical to the JsonPProxy version except for the return function's signature. There is a lot
* of code duplication inside the returned function so we need to find a way to DRY this up.
@@ -309,4 +326,6 @@ Ext.define('Ext.data.proxy.Ajax', {
//backwards compatibility, remove in Ext JS 5.0
Ext.data.HttpProxy = this;
});
-
\ No newline at end of file
+
+
+