Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Commit

Permalink
milestoning empty station list (hack, should figure out how to create…
Browse files Browse the repository at this point in the history
… new, empty DS.RecordArray)
  • Loading branch information
Anthony Bull committed Jan 30, 2013
1 parent 652a271 commit 3295176
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions js/app.js
Expand Up @@ -17,11 +17,10 @@ App.IndexRoute = Ember.Route.extend({
App.StationsRoute = Ember.Route.extend({
model: function() {
return App.Station.find();
//return Ember.A([]);
},
//setupController: function(controller, model) {
//controller.set('content', model);
//}
setupController: function(controller, model) {
controller.set('content', model);
}
});

App.TracksRoute = Ember.Route.extend({
Expand Down Expand Up @@ -84,18 +83,19 @@ App.Tracks = DS.Model.extend({
url: DS.attr('string')
});

App.Station.FIXTURES = [
{
id: 1,
name: 'Carl Craig',
tracks: [100]
},
{
id: 2,
name: 'Stacey Pullen',
tracks: [200]
}
];
App.Station.FIXTURES = [];
//App.Station.FIXTURES = [
//{
//id: 1,
//name: 'Carl Craig',
//tracks: [100]
//},
//{
//id: 2,
//name: 'Stacey Pullen',
//tracks: [200]
//}
//];

App.Tracks.FIXTURES = [
{
Expand Down

0 comments on commit 3295176

Please sign in to comment.