From bccd2db942bd525aa37ab655a7a5a738279703bb Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Fri, 31 Mar 2017 11:22:59 +0200 Subject: [PATCH] fix typo (#457) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f25747..da0f103 100644 --- a/README.md +++ b/README.md @@ -254,7 +254,7 @@ Initialize a new `choo` instance. `opts` can also contain the following values: ### `app.use(callback(state, emitter))` Call a function and pass it a `state` and `emitter`. `emitter` is an instance of [nanobus](https://github.com/yoshuawuyts/nanobus/). You can listen to -messages by calling `emitter.on()` and emit messages by calling `bus.emit()`. +messages by calling `emitter.on()` and emit messages by calling `emitter.emit()`. Choo fires messages when certain events happen: - __`.on('DOMContentLoaded')`__: when the DOM has succesfully finished loading