aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/index.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9eea963..57a437b 100644
--- a/README.md
+++ b/README.md
@@ -101,7 +101,7 @@ Returns **Mitt**
#### emit
Invoke all handlers for the given type.
-If present, `"*"` handlers are invoked prior to type-matched handlers.
+If present, `"*"` handlers are invoked after type-matched handlers.
**Parameters**
diff --git a/src/index.js b/src/index.js
index 75fd040..945861f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -42,7 +42,7 @@ export default function mitt(all: EventHandlerMap) {
/**
* Invoke all handlers for the given type.
- * If present, `"*"` handlers are invoked prior to type-matched handlers.
+ * If present, `"*"` handlers are invoked after type-matched handlers.
*
* @param {String} type The event type to invoke
* @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler