Skip to content
This repository has been archived by the owner on Oct 10, 2017. It is now read-only.

Commit

Permalink
minor doc corrections and a link to a wiki page for the event binder
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick Bailey committed Aug 23, 2012
1 parent 9b16e04 commit 7f04eea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/marionette.application.md
Expand Up @@ -62,11 +62,11 @@ The events that are currently triggered, are:
* **"start"**: fires after all initializers and after the initializer events

```js
MyApp.bind("initialize:before", function(options){
MyApp.on("initialize:before", function(options){
options.moreData = "Yo dawg, I heard you like options so I put some options in your options!"
});

MyApp.bind("initialize:after", function(options){
MyApp.on("initialize:after", function(options){
if (Backbone.history){
Backbone.history.start();
}
Expand Down
2 changes: 2 additions & 0 deletions docs/marionette.eventbinder.md
Expand Up @@ -51,4 +51,6 @@ binder.unbindAll();

This even works with in-line callback functions.

## When To Use EventBinder vs `on` Handlers

See the wiki: [When to use the EventBinder](https://github.com/derickbailey/backbone.marionette/wiki/When-to-use-the-EventBinder)

0 comments on commit 7f04eea

Please sign in to comment.