aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Wendt <[email protected]>2017-08-14 12:03:38 -0500
committertunnckoCore <[email protected]>2017-08-14 20:03:38 +0300
commite911aacbec17f3aea33d465637a11ff6738f50b2 (patch)
treeed7ae5b866e36e9be67d9c95beb89e58f43c14ea /src
parent4517958ad531ad919ccf531aa7287a785ff07e2d (diff)
Fixing API documentation header (#62)
* Fixing API documentation header * Updating documentjs comment
Diffstat (limited to 'src')
-rw-r--r--src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 62e8027..4fbdb44 100644
--- a/src/index.js
+++ b/src/index.js
@@ -51,7 +51,7 @@ export default function mitt(all: EventHandlerMap) {
*
* @param {String} type The event type to invoke
* @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler
- * @memberof mitt
+ * @memberOf mitt
*/
emit(type: string, evt: any) {
(all[type] || []).map((handler) => { handler(evt); });