JsonStore-min.js 428 B

123456789101112131415
  1. /*
  2. * Ext JS Library 2.0 Copyright(c) 2006-2007, Ext JS, LLC. licensing@extjs.com
  3. *
  4. * http://extjs.com/license
  5. */
  6. Ext.data.JsonStore = function(A) {
  7. Ext.data.JsonStore.superclass.constructor.call(this, Ext.apply(A, {
  8. proxy : !A.data ? new Ext.data.HttpProxy({
  9. url : A.url
  10. }) : undefined,
  11. reader : new Ext.data.JsonReader(A, A.fields)
  12. }))
  13. };
  14. Ext.extend(Ext.data.JsonStore, Ext.data.Store);