Skip to content

Instantly share code, notes, and snippets.

@my-slab
Created May 23, 2019 02:17
Show Gist options
  • Save my-slab/d17cfb0d35b6c50db9717f11f0d7e927 to your computer and use it in GitHub Desktop.
Save my-slab/d17cfb0d35b6c50db9717f11f0d7e927 to your computer and use it in GitHub Desktop.
Plans
Plans
List
click -> Preview
new -> New
Preview
cancel -> List
edit -> Edit View
view -> Detail View
Detail View
cancel -> List
edit -> Edit View
Edit View
cancel -> List
save -> List
New Plan
New
cancel -> List
save -> List
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