Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename tracks_store to music_store.

  • Loading branch information...
commit 0fa8a4f539852d49688544a54cb1f00aca9f012b 1 parent e51b863
@nelstrom authored
View
2  public/app/stores/tracks_store.js → public/app/stores/music_store.js
@@ -1,4 +1,4 @@
-NestedListDemo.tracks_store = new Ext.data.TreeStore({
+NestedListDemo.music_store = new Ext.data.TreeStore({
model: 'ListItem',
proxy: {
type: 'ajax',
View
3  public/app/views/Viewport.js
@@ -3,7 +3,8 @@ NestedListDemo.views.Viewport = Ext.extend(Ext.NestedList, {
Ext.apply(this, {
fullscreen: true,
title: 'Music',
- store: NestedListDemo.tracks_store,
+ displayField: 'text',
+ store: NestedListDemo.music_store,
});
NestedListDemo.views.Viewport.superclass.initComponent.apply(this, arguments);
}
View
2  views/index.erb
@@ -9,7 +9,7 @@
<!-- app, models, stores, views, controllers -->
<script src="app/app.js" type="text/javascript"></script>
<script src="app/models/list_item.js" type="text/javascript"></script>
- <script src="app/stores/tracks_store.js" type="text/javascript"></script>
+ <script src="app/stores/music_store.js" type="text/javascript"></script>
<script src="app/views/Viewport.js" type="text/javascript"></script>
</head>
Please sign in to comment.
Something went wrong with that request. Please try again.