X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_data_MemoryProxy.js.html;fp=docs%2Fsrc%2FRoo_data_MemoryProxy.js.html;h=436738aecd20a66a50b099e06ab0dae8d954a98b;hp=c3da147a83b9484a168619118c9ed5ce26e5a433;hb=47c96bffe20aebba2f6d3d95a6428931e0b3a2da;hpb=fc82bff3902f6b9018e9efb96c6ea168fb4f5d7a
diff --git a/docs/src/Roo_data_MemoryProxy.js.html b/docs/src/Roo_data_MemoryProxy.js.html
index c3da147a83..436738aecd 100644
--- a/docs/src/Roo_data_MemoryProxy.js.html
+++ b/docs/src/Roo_data_MemoryProxy.js.html
@@ -10,14 +10,16 @@
*/
/**
* @class Roo.data.MemoryProxy
+ * @extends Roo.data.DataProxy
* An implementation of Roo.data.DataProxy that simply passes the data specified in its constructor
* to the Reader when its load method is called.
* @constructor
- * @param {Object} data The data object which the Reader uses to construct a block of Roo.data.Records.
+ * @param {Object} config A config object containing the objects needed for the Store to access data,
*/
-Roo.data.MemoryProxy = function(data){
- if (data.data) {
- data = data.data;
+Roo.data.MemoryProxy = function(config){
+ var data = config;
+ if (typeof(config) != 'undefined' && typeof(config.data) != 'undefined') {
+ data = config.data;
}
Roo.data.MemoryProxy.superclass.constructor.call(this);
this.data = data;
@@ -26,6 +28,9 @@
Roo.extend(Roo.data.MemoryProxy, Roo.data.DataProxy, {