Skip to content

Instantly share code, notes, and snippets.

@statonjr
Created July 18, 2018 20:58
Show Gist options
  • Select an option

  • Save statonjr/5e06efe63d7584d111b7d6a0d5046f24 to your computer and use it in GitHub Desktop.

Select an option

Save statonjr/5e06efe63d7584d111b7d6a0d5046f24 to your computer and use it in GitHub Desktop.

Revisions

  1. statonjr created this gist Jul 18, 2018.
    5 changes: 5 additions & 0 deletions SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    Client Registration
    Unauthenticated
    ready -> Unauthenticated
    submit -> Authenticated
    Authenticated
    6 changes: 6 additions & 0 deletions SketchSystems_prototype.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    function render(model){
    let current_state_name = model.active_states[0].name;
    return $("h1",
    {style: {color: "darkBlue"}},
    `The current state is: ${current_state_name}`);
    }