diff options
| author | tunnckoCore <[email protected]> | 2017-01-17 20:31:10 +0200 |
|---|---|---|
| committer | tunnckoCore <[email protected]> | 2017-01-17 20:31:10 +0200 |
| commit | 19a32dc9dada22fdd66d16738137cf7e93a29d21 (patch) | |
| tree | ab0364c71443503bd3a5b45cf6c2c0e0608aa788 | |
| parent | e361ab520b96b8b0d1efa81b0a8aba916da6d144 (diff) | |
readme, re-run build process
| -rw-r--r-- | README.md | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -8,15 +8,14 @@ ## Why Mitt? -- **Microscopic:** weighs less than 200 bytes gzipped -- **Useful:** a wildcard `"*"` event type listens to all events -- **Familiar:** same names & ideas as [Node's EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) -- **Functional:** methods don't rely on `this` -- **Great Name:** somehow [mitt](https://npm.im/mitt) wasn't taken +- **Microscopic:** weighs less than 200 bytes gzipped +- **Useful:** a wildcard `"*"` event type listens to all events +- **Familiar:** same names & ideas as [Node's EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter) +- **Functional:** methods don't rely on `this` +- **Great Name:** somehow [mitt](https://npm.im/mitt) wasn't taken > Mitt was made for the browser, but works in any JavaScript runtime. It has no dependencies and supports IE9+. - ## Examples & Demos <a href="http://codepen.io/developit/pen/rjMEwW?editors=0110"> @@ -59,7 +58,7 @@ emitter.off('foo', onFoo) // unlisten Mitt: Tiny (~200b) functional event emitter / pubsub. -Returns **Mitt** +Returns **Mitt** #### emit |
