Skip to content

Instantly share code, notes, and snippets.

@hvgotcodes
Created May 7, 2012 12:36
Show Gist options
  • Save hvgotcodes/2627528 to your computer and use it in GitHub Desktop.
Save hvgotcodes/2627528 to your computer and use it in GitHub Desktop.
// Generated by CoffeeScript 1.3.1
(function() {
hsc.states.RoundStates = Stativus.State.create({
name: "#round_states",
parentState: "#root",
enterState: function() {
return Ti.API.info("entered round states");
},
states: [
{
name: "#createNewRound",
enterState: function() {
Ti.API.info('new round...');
hsc.models.createNewRound();
return hsc.ui.openVerticalScorecard();
}
}
]
});
}).call(this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment