Skip to content

Commit

Permalink
[API doc] typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolab committed Nov 29, 2014
1 parent df1a8a6 commit b634061
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ Get a list of assigned event listeners.
**Params**

- \[event\] `string` - The events that should be listed.
If not provided, all listeners are retourned.
Use the property `Evemit.events` if you want get an object like
If not provided, all listeners are returned.
Use the property `Evemit.events` if you want to get an object like
```
{event1: [array of listeners], event2: [array of listeners], ...}
```
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ var lastListener = obj.listeners('my-event').pop();
// ...
```

Use the property `obj.events` if you want get an object like
Use the property `obj.events` if you want to get an object like
```
{event1: [<array of listeners>], event2: [<array of listeners>], ...}
{event1: [array of listeners], event2: [array of listeners], ...}
```


Expand Down
4 changes: 2 additions & 2 deletions evemit.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
* Get a list of assigned event listeners.
*
* @param {string} [event] The events that should be listed.
* If not provided, all listeners are retourned.
* Use the property `Evemit.events` if you want get an object like
* If not provided, all listeners are returned.
* Use the property `Evemit.events` if you want to get an object like
* ```
* {event1: [array of listeners], event2: [array of listeners], ...}
* ```
Expand Down
4 changes: 2 additions & 2 deletions test/test-webpacked.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,8 @@
* Get a list of assigned event listeners.
*
* @param {string} [event] The events that should be listed.
* If not provided, all listeners are retourned.
* Use the property `Evemit.events` if you want get an object like
* If not provided, all listeners are returned.
* Use the property `Evemit.events` if you want to get an object like
* ```
* {event1: [array of listeners], event2: [array of listeners], ...}
* ```
Expand Down

0 comments on commit b634061

Please sign in to comment.