Skip to content

Instantly share code, notes, and snippets.

@lamtranweb
Last active October 17, 2018 06:18
Show Gist options
  • Save lamtranweb/e373c317b39f9afda5cf831f9a6b9c74 to your computer and use it in GitHub Desktop.
Save lamtranweb/e373c317b39f9afda5cf831f9a6b9c74 to your computer and use it in GitHub Desktop.

Revisions

  1. lamtranweb revised this gist Oct 17, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,7 @@ Quiz
    check -> Checked Slide
    Checked Slide
    next -> Slide
    uncheck -> Slide
    done -> Results
    Results
    reset -> Slide
  2. lamtranweb revised this gist Oct 17, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,4 @@ Quiz
    next -> Slide
    done -> Results
    Results
    reset -> Quiz
    reset -> Slide
  3. lamtranweb revised this gist Oct 17, 2018. No changes.
  4. lamtranweb created this gist Oct 16, 2018.
    8 changes: 8 additions & 0 deletions SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    Quiz
    Slide
    check -> Checked Slide
    Checked Slide
    next -> Slide
    done -> Results
    Results
    reset -> Quiz
    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}`);
    }