X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..refs/heads/master:/docs/source/JsonProvider.html
diff --git a/docs/source/JsonProvider.html b/docs/source/JsonProvider.html
index 730e184f..96e8b20d 100644
--- a/docs/source/JsonProvider.html
+++ b/docs/source/JsonProvider.html
@@ -3,8 +3,8 @@
The source code
-
-
+
+
@@ -27,17 +27,17 @@ and should not be instanced directly.
*/
Ext.define('Ext.direct.JsonProvider', {
-
+
/* Begin Definitions */
-
+
extend: 'Ext.direct.Provider',
-
+
alias: 'direct.jsonprovider',
-
+
uses: ['Ext.direct.ExceptionEvent'],
-
+
/* End Definitions */
-
+
/**
* Parse the JSON response
* @private
@@ -58,7 +58,7 @@ Ext.define('Ext.direct.JsonProvider', {
* Creates a set of events based on the XHR response
* @private
* @param {Object} response The XHR response
- * @return {Array} An array of Ext.direct.Event
+ * @return {Ext.direct.Event[]} An array of Ext.direct.Event
*/
createEvents: function(response){
var data = null,
@@ -66,7 +66,7 @@ Ext.define('Ext.direct.JsonProvider', {
event,
i = 0,
len;
-
+
try{
data = this.parseResponse(response);
} catch(e) {
@@ -78,7 +78,7 @@ Ext.define('Ext.direct.JsonProvider', {
});
return [event];
}
-
+
if (Ext.isArray(data)) {
for (len = data.length; i < len; ++i) {
events.push(this.createEvent(data[i]));
@@ -88,7 +88,7 @@ Ext.define('Ext.direct.JsonProvider', {
}
return events;
},
-
+
/**
* Create an event from a response object
* @param {Object} response The XHR response object