Skip to content

Instantly share code, notes, and snippets.

@FrigoEU
Last active August 17, 2018 09:55
Show Gist options
  • Save FrigoEU/6aa3ffac7f698d5732fbc482b647ef20 to your computer and use it in GitHub Desktop.
Save FrigoEU/6aa3ffac7f698d5732fbc482b647ef20 to your computer and use it in GitHub Desktop.
Import Screen
Import Screen
Not Yet Imported*
Initial
import is ok -> Imported
wrong format -> Display Error
Display Error
import is ok -> Imported
wrong format -> Display Error
Imported
No Errors
save -> Saved
Errors*
correct errors -> No Errors
Saved
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