Skip to content
Browse files

Updating examples

  • Loading branch information...
1 parent b924ba0 commit a963bb3e06ec7a2721ccc59051e1640a71de41bd @efeminella committed Apr 17, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 README.md
View
4 README.md
@@ -109,11 +109,9 @@ Modules can register events of interest with an `EventBroker` via the default '[
// Register event/callbacks based on a hash and associated context
var Users = Backbone.Collection.extend(
{
- broker: Backbone.EventBroker,
-
initialize: function()
{
- this.broker.register({
+ Backbone.EventBroker.register({
'user:select' : 'select',
'user:deselect' : 'deselect',
'user:edit' : 'edit',

0 comments on commit a963bb3

Please sign in to comment.
Something went wrong with that request. Please try again.