OSDN Git Service

メニュー関連のmodel、storeのクラス定義を、それぞれmenuというサブディレクトリに移動し、名称も統一性のある名称(alias等も)に修正。
[decshee/decshee.git] / app / store / menu / List.js
1 Ext.define(
2   'Decshee.store.menu.List',
3   {
4     extend: 'Ext.data.Store',
5     model: 'Decshee.model.menu.Entry',
6     autoLoad: true,
7
8     proxy: {
9       type: 'ajax',
10       api: {
11         read: 'data/menu/list.json',
12         update: 'data/menu/updateList.json'
13       },
14
15       reader: {
16         type: 'json',
17         root: 'menus',
18         successProperty: 'success'
19       }
20     }
21   }
22 );
23