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 63dc20a commit a378a75Copy full SHA for a378a75
src/core/constructors/listener.js
@@ -4,7 +4,8 @@ dop.core.listener = function(args) {
4
dop.util.emitter.call(this); //https://jsperf.com/inheritance-call-vs-object-assign
5
args.unshift(dop, this);
6
this.options = args[2];
7
- this.transport = this.options.transport.apply(this, args);
+ this.transport = this.options.transport;
8
+ this.listener = this.options.transport.apply(this, args);
9
};
10
// Inherit emitter
11
dop.util.merge(dop.core.listener.prototype, dop.util.emitter.prototype);
0 commit comments