Skip to content

Commit 94ae74b

Browse files
committed
remove new trick for non-exported function
1 parent 5064a05 commit 94ae74b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ inherits(Tracker, EventEmitter)
3434
*/
3535
function Tracker (client, announceUrl, interval, opts) {
3636
var self = this
37-
if (!(self instanceof Tracker)) return new Tracker(client, announceUrl, interval, opts)
3837
EventEmitter.call(self)
3938
self._opts = opts || {}
4039

0 commit comments

Comments
 (0)