Skip to content

Commit

Permalink
Updated README example
Browse files Browse the repository at this point in the history
  • Loading branch information
elmasse committed Jun 12, 2014
1 parent a6e797b commit 3c8208d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -34,7 +34,9 @@ cocktail.mix({

'@traits' : [Eventable],

_emitter : new EventEmitter(),
constructor: function() {
this._emitter = new EventEmitter();
},

// glue code for Eventable Trait
getEmitter: function() {
Expand Down

0 comments on commit 3c8208d

Please sign in to comment.