Skip to content

Instantly share code, notes, and snippets.

@jesuarva
Last active March 22, 2020 11:09
Show Gist options
  • Select an option

  • Save jesuarva/e8c6faab89943693d3e92e027ea1d0cc to your computer and use it in GitHub Desktop.

Select an option

Save jesuarva/e8c6faab89943693d3e92e027ea1d0cc to your computer and use it in GitHub Desktop.

Revisions

  1. jesuarva revised this gist Mar 22, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -2,5 +2,6 @@ My Awesome Sketch
    loggedOut
    authSuccess -> loggedIn
    loggedIn
    log
    logOut -> loggedOut


  2. jesuarva revised this gist Mar 22, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    My Awesome Sketch
    logedout
    loggedOut
    authSuccess -> loggedIn
    loggedIn
    log

  3. jesuarva created this gist Mar 22, 2020.
    5 changes: 5 additions & 0 deletions SketchSystems.spec
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    My Awesome Sketch
    logedout
    authSuccess -> loggedIn
    loggedIn

    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}`);
    }