Skip to content

Commit

Permalink
Fixed readme typos
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Apr 22, 2017
1 parent f7000f1 commit 5b7b7fe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ From the command line :

`npm install quadtree-lib` or `yarn add quadtree-lib`

### Using Bower
### Using bower

`bower install quadtree-lib`

Expand Down Expand Up @@ -114,7 +114,7 @@ import * as Quadtree from "quadtree-lib"

Elements must be objects, with coordinates set.

Optionally, you can pass a boolean argument which, if set to True, will
Optionally, you can pass a boolean argument which, if set to `true`, will
remove/push the object into the quadtree each time its coordinates or dimensions
are set *(ex: item.x = ... or item.width = ...)*.

Expand All @@ -138,7 +138,6 @@ quadtree.pushAll([
{x: 2, y: 2}
// ... //
])

```

### Removing elements
Expand Down Expand Up @@ -183,7 +182,7 @@ var colliding = quadtree.colliding({
x: 10,
y: 10
}, function(element1, element2){
return //Place collision algorithm here
return // Place collision algorithm here //
})

```
Expand Down

0 comments on commit 5b7b7fe

Please sign in to comment.