Comparing version 1.0.5 to 1.0.6
@@ -29,6 +29,4 @@ 'use strict'; | ||
listener.apply(this, arguments); | ||
} | ||
if(typeof listener === 'function') { | ||
this.on(event, g); | ||
} | ||
}; | ||
this.on(event, g); | ||
return this; | ||
@@ -35,0 +33,0 @@ } |
{ | ||
"name": "emanate", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Event emitter for the browser.", | ||
@@ -5,0 +5,0 @@ "author": "muji <noop@xpm.io>", |
7235
91