Permalink
Browse files

Updating Markdown and examples.

  • Loading branch information...
1 parent 9e7d030 commit b6f7959a46af1ff3bbd869f219ba48d621b68ae7 @efeminella committed Apr 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -1,5 +1,5 @@
## EventBroker API
-Provides a general purpose Event Broker implementation to Backbone based on the Backbone Events API. The EventBroker can be used directly to serve as a centralized event management mechanism for an entire application. Additional, context specific, namespaced brokers can also be created in order to provide unique brokers within a particular part of an application.
+Provides a general purpose Backbone Event Broker implementation based on the Backbone Events API. The EventBroker can be used directly to serve as a centralized event management mechanism for an entire application. Additional, context specific, namespaced brokers can also be created in order to provide unique brokers within a particular part of an application.
### Basic Usage
The `EventBroker` can be used directly to publish and subscribe to events of interest:
@@ -33,7 +33,7 @@ var UserEditor = Backbone.View.extend({
### Creating namespaced EventBrokers
The `EventBroker` API can be used to create and retrieve any number of specific namespaced `EventBrokers`. A namespaced `EventBroker` ensures that all events are published and subscribed against a specific namespace.
-Namespaced `EventBrokers` are retrieved via `Backbone.EventBroker.get(<i>namespace</i>)`. If an `EventBroker` has not been created for the given namespace, it will be created and returned. All subsequent retrievals will return the same `EventBroker` instance for the specified namespace; i.e. only one unique `EventBroker` is created per namespace.
+Namespaced `EventBrokers` are retrieved via `Backbone.EventBroker.get(*namespace*)`. If an `EventBroker` has not been created for the given namespace, it will be created and returned. All subsequent retrievals will return the same `EventBroker` instance for the specified namespace; i.e. only one unique `EventBroker` is created per namespace.
``` javascript
var Users = Backbone.Collection.extend{{

0 comments on commit b6f7959

Please sign in to comment.