Skip to content

Instantly share code, notes, and snippets.

@brikou
Last active April 18, 2021 09:56
Show Gist options
  • Save brikou/237ff4ed78b1781dce30cab67c20eb4b to your computer and use it in GitHub Desktop.
Save brikou/237ff4ed78b1781dce30cab67c20eb4b to your computer and use it in GitHub Desktop.
stripe*
stripe*
loading*
LOADED -> waiting
waiting
mounting*
mounted -> waiting0
waiting0
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