Skip to content

Commit

Permalink
Improve js example thanks to Remi
Browse files Browse the repository at this point in the history
  • Loading branch information
KmeCnin committed Apr 16, 2017
1 parent d803ed0 commit 9a0bae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/mrhankey.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ <h1>Help Mr Hankey</h1>

var action = "wait";

/* Un-comment solution for testing.
// Un-comment folowing solution for testing.

/*
if (obstacle === 1 || obstacle === 3) {
action = "jump";
} else if (obstacle === 2) {
action = "crouch";
} else {
action = "walk";
}

*/</textarea>
<div
data-fiddlestick-id="hankey"
Expand Down

0 comments on commit 9a0bae4

Please sign in to comment.