Skip to content

Instantly share code, notes, and snippets.

@brandondrew
Last active June 12, 2019 23:04
Show Gist options
  • Save brandondrew/1457fa9242e7580c73a5cd5820543c85 to your computer and use it in GitHub Desktop.
Save brandondrew/1457fa9242e7580c73a5cd5820543c85 to your computer and use it in GitHub Desktop.
Goals
Goals
Editable by Supervisor
Employee Data Safe
Supervisor Edits Goals -> Editable by Supervisor
Supervisor Assigns Rights to Employee -> Editable by Employee
Employee Data Lost
No Simple Solution -> Employee Data Lost
Editable by Employee
Employee Data Still Safe
Employee Begins Editing Goals -> Employee Data at Risk
Supervisor Revokes -> Employee Data Safe
Employee Data at Risk
Employee Saves Goals -> Editable by Employee
Supervisor Revokes -> Employee Data Lost
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