Created
July 30, 2012 11:13
-
-
Save waseem/3206248 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
var states = [ | |
'showingAddRelative', | |
'showingForm', | |
'showingComplexRelationshipHelp', | |
'findingExistingRelatives', | |
'choosingNewOrExisting', | |
'addingRelative', | |
'gettingSuggestions', | |
'showingSuggestions', | |
'approvingSuggestions', | |
'requestingInvitationTemplate', | |
'showingInvitationTemplate', | |
'sendingInvitation', | |
'findingExistingRelatives', | |
'idle' | |
], lol = new Object(); | |
for (state in states) { | |
lol[state] = Ember.State.create({}); | |
} | |
App.AddRelativeManager = Ember.StateManager.create(lol); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment