Skip to content

Commit cf764a1

Browse files
gamtiqdevelopit
authored andcommitted
Change description for emit (fix #49) (#50)
1 parent c595dfb commit cf764a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Returns **Mitt**
101101
#### emit
102102

103103
Invoke all handlers for the given type.
104-
If present, `"*"` handlers are invoked prior to type-matched handlers.
104+
If present, `"*"` handlers are invoked after type-matched handlers.
105105

106106
**Parameters**
107107

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function mitt(all: EventHandlerMap) {
4242

4343
/**
4444
* Invoke all handlers for the given type.
45-
* If present, `"*"` handlers are invoked prior to type-matched handlers.
45+
* If present, `"*"` handlers are invoked after type-matched handlers.
4646
*
4747
* @param {String} type The event type to invoke
4848
* @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler

0 commit comments

Comments
 (0)