X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/JsonP2.html diff --git a/docs/source/JsonP2.html b/docs/source/JsonP2.html index 3a8dbd5e..73ac9b9a 100644 --- a/docs/source/JsonP2.html +++ b/docs/source/JsonP2.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @author Ed Spencer
* @class Ext.data.proxy.JsonP
* @extends Ext.data.proxy.Server
@@ -157,26 +174,26 @@ Ext.define('Ext.data.proxy.JsonP', {
defaultWriterType: 'base',
- /**
+ /**
* @cfg {String} callbackKey (Optional) See {@link Ext.data.JsonP#callbackKey}.
*/
callbackKey : 'callback',
- /**
+ /**
* @cfg {String} recordParam
* The param name to use when passing records to the server (e.g. 'records=someEncodedRecordString').
* Defaults to 'records'
*/
recordParam: 'records',
- /**
+ /**
* @cfg {Boolean} autoAppendParams True to automatically append the request's params to the generated url. Defaults to true
*/
autoAppendParams: true,
constructor: function(){
this.addEvents(
- /**
+ /**
* @event exception
* Fires when the server returns an exception
* @param {Ext.data.proxy.Proxy} this
@@ -188,7 +205,7 @@ Ext.define('Ext.data.proxy.JsonP', {
this.callParent(arguments);
},
- /**
+ /**
* @private
* Performs the read request to the remote domain. JsonPProxy does not actually create an Ajax request,
* instead we write out a <script> tag based on the configuration of the internal Ext.data.Request object
@@ -230,7 +247,7 @@ Ext.define('Ext.data.proxy.JsonP', {
return request;
},
- /**
+ /**
* @private
* Creates and returns the function that is called when the request has completed. The returned function
* should accept a Response object, which contains the response to be read by the configured Reader.
@@ -260,7 +277,7 @@ Ext.define('Ext.data.proxy.JsonP', {
},
- /**
+ /**
* Generates a url based on a given Ext.data.Request object. Adds the params and callback function name to the url
* @param {Ext.data.Request} request The request object
* @return {String} The url
@@ -305,7 +322,7 @@ Ext.define('Ext.data.proxy.JsonP', {
this.callParent();
},
- /**
+ /**
* Aborts the current server request if one is currently running
*/
abort: function() {
@@ -315,7 +332,7 @@ Ext.define('Ext.data.proxy.JsonP', {
}
},
- /**
+ /**
* Encodes an array of records into a string suitable to be appended to the script src url. This is broken
* out into its own function so that it can be easily overridden.
* @param {Array} records The records array
@@ -333,4 +350,6 @@ Ext.define('Ext.data.proxy.JsonP', {
return encoded;
}
});
-
\ No newline at end of file
+
+
+