Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Change Fourway to Twoway
  • Loading branch information
mkucko committed Dec 12, 2015
1 parent d35db2a commit a89e92b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ The Gravity component should only be added to entities which should be falling,
Now we'll add the Gravity component to our previous red box:

``` js
Crafty.e('2D, Canvas, Color, Fourway, Gravity')
Crafty.e('2D, Canvas, Color, Twoway, Gravity')
.attr({x: 0, y: 0, w: 50, h: 50})
.color('#F00')
.fourway(4)
.twoway(4)
.gravity('Floor');
```

Expand Down

0 comments on commit a89e92b

Please sign in to comment.