From b63406132724d9d8a77989e325e313be0620f51b Mon Sep 17 00:00:00 2001 From: "Nicolab.net" Date: Sat, 29 Nov 2014 18:05:32 +0100 Subject: [PATCH] [API doc] typo --- API.md | 4 ++-- README.md | 4 ++-- evemit.js | 4 ++-- test/test-webpacked.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/API.md b/API.md index 44c142e..9e562b8 100644 --- a/API.md +++ b/API.md @@ -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], ...} ``` diff --git a/README.md b/README.md index 0f9cb01..2db2c69 100644 --- a/README.md +++ b/README.md @@ -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: [], event2: [], ...} +{event1: [array of listeners], event2: [array of listeners], ...} ``` diff --git a/evemit.js b/evemit.js index 59fabd3..b1e9425 100644 --- a/evemit.js +++ b/evemit.js @@ -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], ...} * ``` diff --git a/test/test-webpacked.js b/test/test-webpacked.js index 9013476..1726ae3 100644 --- a/test/test-webpacked.js +++ b/test/test-webpacked.js @@ -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], ...} * ```