Skip to content

Instantly share code, notes, and snippets.

@craigthomasfrost
Last active February 11, 2021 16:39
Show Gist options
  • Select an option

  • Save craigthomasfrost/708efb8fdf5ca7e602dddcc189eadd83 to your computer and use it in GitHub Desktop.

Select an option

Save craigthomasfrost/708efb8fdf5ca7e602dddcc189eadd83 to your computer and use it in GitHub Desktop.
Results
Results
Waves -> Waves
Waves
Create -> Review
Open -> Open
Upcoming -> Upcoming
Closed -> Closed
Results -> Results
Open
Collecting
Pause -> Paused
Paused
Resume -> Collecting
Close -> Closed
Waves -> Waves
Upcoming
Cancel -> Waves
Closed
Waves -> Waves
Review
Purchase -> Open
Cancel -> Waves
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