Skip to content

Commit

Permalink
docs: fix typos (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbm authored and FezVrasta committed Apr 15, 2018
1 parent 03f45cd commit c857edd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -125,7 +125,7 @@ var anotherPopper = new Popper(
### Callbacks

Popper.js supports two kinds of callbacks, the `onCreate` callback is called after
the popper has been initalized. The `onUpdate` one is called on any subsequent update.
the popper has been initialized. The `onUpdate` one is called on any subsequent update.

```js
const reference = document.querySelector('.my-button');
Expand Down
8 changes: 4 additions & 4 deletions docs/_includes/popper-documentation.md
Expand Up @@ -96,7 +96,7 @@ Create a new Popper.js instance

### Popper.Defaults : <code>Object</code>
Default options provided to Popper.js constructor.<br />
These can be overriden using the `options` argument of Popper.js.<br />
These can be overridden using the `options` argument of Popper.js.<br />
To override an option, simply pass as 3rd argument an object with the same
structure of this object, example:
```
Expand Down Expand Up @@ -607,8 +607,8 @@ the boundaries in order to remain attached to the edge of the reference.
<a name="modifiers..keepTogether"></a>

### modifiers~keepTogether
Modifier used to make sure the reference and its popper stay near eachothers
without leaving any gap between the two. Expecially useful when the arrow is
Modifier used to make sure the reference and its popper stay near each others
without leaving any gap between the two. Especially useful when the arrow is
enabled and you want to assure it to point to its reference element.
It cares only about the first axis, you can still have poppers with margin
between the popper and its reference element.
Expand Down Expand Up @@ -656,7 +656,7 @@ between the popper and its reference element.
This modifier is used to move the `arrowElement` of the popper to make
sure it is positioned between the reference element and its popper element.
It will read the outer size of the `arrowElement` node to detect how many
pixels of conjuction are needed.
pixels of conjunction are needed.

It has no effect if no `arrowElement` is provided.

Expand Down
2 changes: 1 addition & 1 deletion packages/popper/README.md
Expand Up @@ -122,7 +122,7 @@ var anotherPopper = new Popper(
### Callbacks

Popper.js supports two kinds of callbacks, the `onCreate` callback is called after
the popper has been initalized. The `onUpdate` one is called on any subsequent update.
the popper has been initialized. The `onUpdate` one is called on any subsequent update.

```js
const reference = document.querySelector('.my-button');
Expand Down

0 comments on commit c857edd

Please sign in to comment.