Skip to content

Instantly share code, notes, and snippets.

@yonkeltron
Last active March 20, 2019 16:31
Show Gist options
  • Save yonkeltron/293e860a0d977704d75d8fc653224db6 to your computer and use it in GitHub Desktop.
Save yonkeltron/293e860a0d977704d75d8fc653224db6 to your computer and use it in GitHub Desktop.
Propane
Propane
Idle*
configure -> Configuring
help -> Help
error -> Logging Error
Configuring
Updating Packages
finished -> Configuring Certificates
failed -> Logging Error
Configuring Certificates
finished -> Indicating Success
failed -> Logging Error
Help
finished -> Idle
failed -> Panic
Logging Error
finished -> Idle
failed -> Panic
Indicating Success
finished -> Idle
failed -> Panic
Panic
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