Skip to content

Instantly share code, notes, and snippets.

@altitude
Last active October 10, 2023 08:33
Show Gist options
  • Save altitude/96d4474f736cc3913693b37749c07b19 to your computer and use it in GitHub Desktop.
Save altitude/96d4474f736cc3913693b37749c07b19 to your computer and use it in GitHub Desktop.
Foo
Foo
A
e -> B
B
e -> A
Bar
C
e -> D
D
e -> C
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