Skip to content

Instantly share code, notes, and snippets.

@ootes
Created December 17, 2012 15:02
Show Gist options
  • Save ootes/4318942 to your computer and use it in GitHub Desktop.
Save ootes/4318942 to your computer and use it in GitHub Desktop.
namespacing
//Tournaments Web App *(Backbone example application)*
/**
* Tournaments Web App (Backbone example application)
*
*
*/
var App = {
Models: {},
Collections: {},
Views: {},
Data: {}
}
// # Game data #
App.Data.Game = [
{ number: "1", team1: "Boomsquad", team1Score: "4", team2: "Burning Snow", team2Score: "1"},
{ number: "2", team1: "Boomsquad", team1Score: "3", team2: "Burning Snow", team2Score: "4"},
{ number: "3", team1: "Boomsquad", team1Score: "0", team2: "Burning Snow", team2Score: "4"},
{ number: "4", team1: "Boomsquad", team1Score: "2", team2: "Burning Snow", team2Score: "4"},
{ number: "5", team1: "Boomsquad", team1Score: "4", team2: "Burning Snow", team2Score: "3"}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment