Skip to content

Instantly share code, notes, and snippets.

@julio73
Last active August 13, 2018 09:37
Show Gist options
  • Save julio73/bd14a100b9645b5aef5b1c1f615820cf to your computer and use it in GitHub Desktop.
Save julio73/bd14a100b9645b5aef5b1c1f615820cf to your computer and use it in GitHub Desktop.
My Sketch
My Sketch
First State
some event -> Second State
Second State
some sketch
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