Skip to content

Instantly share code, notes, and snippets.

@TheSisb
Last active December 9, 2019 06:21
Show Gist options
  • Save TheSisb/458c14cff1e6eaa40d5161a0478fe518 to your computer and use it in GitHub Desktop.
Save TheSisb/458c14cff1e6eaa40d5161a0478fe518 to your computer and use it in GitHub Desktop.
Elevator doors
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
// Boolean?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment