We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f082c63 commit 166a679Copy full SHA for 166a679
lib/Eventable.js
@@ -59,7 +59,7 @@ cocktail.mix({
59
emit: function() {
60
var emitter = this.getEmitter();
61
62
- emitter.emit.apply(this, arguments);
+ emitter.emit.apply(emitter, arguments);
63
},
64
65
/**
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "cocktail-trait-eventable",
3
- "version": "0.0.4",
+ "version": "0.0.5",
4
"description": "EventEmitter as delegate trait",
5
"main": "lib/Eventable",
6
"scripts": {
0 commit comments