Skip to content

Instantly share code, notes, and snippets.

@quackingduck
Last active July 17, 2018 21:20
Show Gist options
  • Save quackingduck/64ab847b78b4b52201274b3d0b457267 to your computer and use it in GitHub Desktop.
Save quackingduck/64ab847b78b4b52201274b3d0b457267 to your computer and use it in GitHub Desktop.
unix process running
unix process running
initializing
read pwd as project dir -> locating comments dir
locating comments dir
# error: no project repo found to create comments dir in
project dir is root? -> died
found in project dir? -> locating attrs file
not in project dir? -> pop project dir
pop project dir
entry -> locating comments dir
locating attrs file
found -> parsing attrs file
parsing attrs file
died
exited
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