Skip to content

Instantly share code, notes, and snippets.

@good-idea
Last active February 5, 2019 18:04
Show Gist options
  • Save good-idea/126ec045b3b4e840ff22ece3f94217d8 to your computer and use it in GitHub Desktop.
Save good-idea/126ec045b3b4e840ff22ece3f94217d8 to your computer and use it in GitHub Desktop.
Map Editor*
Map Editor*
Welcome*
Lesson
clickedDropPin -> DropPin
Browse*
clickedItem -> Inspect
DropPin
clickedDropPin -> Browse
droppedPin -> Inspect
enterConnect -> Connect
DropMode*
Drop*
Connect
Inspect
close -> Lesson
CaptureView
ReplayView
enterLesson -> Lesson
returnToWelcome -> Welcome
InspectMode
Something
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