]>
Commit | Line | Data |
---|---|---|
c4685c84 TL |
1 | /* |
2 | * We store Search model instances locally using localStorage. This makes it easy to have a single Store containing | |
3 | * all of the Searches and loading automatically. We use this to populate the list on the left, as well as in helping | |
4 | * boot the application up (see the 'first' action in app/controllers/searches.js). | |
5 | */ | |
6 | Ext.define('Flickr.store.Searches', { | |
7 | extend : 'Ext.data.Store', | |
8 | requires: ['Flickr.model.Search'], | |
9 | config: { | |
10 | model : 'Flickr.model.Search' | |
11 | } | |
12 | }); |