Created
May 7, 2012 12:36
-
-
Save hvgotcodes/2627528 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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