Skip to content

Instantly share code, notes, and snippets.

@DLavin23
Last active May 29, 2019 19:59
Show Gist options
  • Save DLavin23/c2eef0f08048bc9d17ce1d44086e5663 to your computer and use it in GitHub Desktop.
Save DLavin23/c2eef0f08048bc9d17ce1d44086e5663 to your computer and use it in GitHub Desktop.
Create Moment
Create Moment
Moment Index*
create -> Moment
Moment
next -> Goal
cancel -> Moment Index
Goal
next -> Audience
back -> Moment
Audience
next -> Engagement
back -> Goal
Engagement
next -> Design
back -> Audience
Design
next -> Summary
back -> Engagement
Summary
save -> Moment Index
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