Skip to content

Instantly share code, notes, and snippets.

@apucacao
Last active May 3, 2019 01:06
Show Gist options
  • Save apucacao/e9c1feced52336aa53f665220ab1e921 to your computer and use it in GitHub Desktop.
Save apucacao/e9c1feced52336aa53f665220ab1e921 to your computer and use it in GitHub Desktop.
Upload to Giggles
Upload to Giggles
Unauthenticated
Authenticate -> Start
Start
Drop a file on the page -> Loading file preview
Select a file -> Loading file preview
Paste a Twitter link -> Loading URL preview
Loading file preview
Success -> Tagging
Error -> Loading error
Loading URL preview
Success -> Tagging
Error -> Loading error
Loading error
Start over -> Start
Tagging
Change source -> Tagging
Change description -> Tagging
Save -> Uploading
Uploading
Progress -> Uploading
Success -> Done
Error -> Upload error
Upload error
Retry -> Uploading
Start over -> Start
Done
Start over -> Start
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