Skip to content

Instantly share code, notes, and snippets.

@ifyoumakeit
Created August 15, 2018 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ifyoumakeit/9ed92fa0f8f69f331780ec043ab2a66b to your computer and use it in GitHub Desktop.
Save ifyoumakeit/9ed92fa0f8f69f331780ec043ab2a66b to your computer and use it in GitHub Desktop.
Reach
Reach
Register
Login
processMobileNumber -> Is Returning User?
Is Returning User?
pass -> Search
fail -> Authentication
Authentication
processToken -> Is Token Valid?
Is Token Valid?
pass -> Search
fail -> Authentication
UserProfileInit
Admin
Search
onSearch -> SearchResults
SearchResults
cellPressed -> VoterRecord
UserProfileEdit
VoterRecord
Leaderboard
CampaignPicker
Menu
History
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment