Skip to content

Instantly share code, notes, and snippets.

@sudara
Created July 10, 2009 08:05
Show Gist options
  • Save sudara/144312 to your computer and use it in GitHub Desktop.
Save sudara/144312 to your computer and use it in GitHub Desktop.
// ==========================================================================
// Listenapp.App Fixtures
// ==========================================================================
sc_require('models/nav');
Listenapp.Nav.FIXTURES = [
// TODO: Add your data fixtures here.
// All fixture records must have a unique guid and a type matching the
// title of your contact. See the example below.
{ guid: 'nav-10',
title: "Artists",
type: "Artists",
isExpanded: YES,
children: [
{
guid: 'nav-1',
title: "All Artists",
type: "Artists",
isExpanded: NO
}]
},
{ guid: 'nav-20',
title: "Tracks",
type: "Tracks",
isExpanded: YES,
children: [
{ guid: 'nav-2',
title: "Kicking Ass",
type: "Tracks",
isExpanded: NO
},
{ guid: 'nav-3',
title: "Recently Favorited",
type: "Tracks",
isExpanded: NO
},
{ guid: 'nav-4',
title: "Random",
type: "Tracks",
isExpanded: NO
},
{ guid: 'nav-5',
title: "Most Favorited",
type: "Tracks",
isExpanded: NO
}
]
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment