From 94ae74b32df5c0758f4b92d840ca641d5f63394d Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sun, 11 May 2014 16:41:47 -0700 Subject: [PATCH] remove `new` trick for non-exported function --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index fe3da18..e85f41d 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,6 @@ inherits(Tracker, EventEmitter) */ function Tracker (client, announceUrl, interval, opts) { var self = this - if (!(self instanceof Tracker)) return new Tracker(client, announceUrl, interval, opts) EventEmitter.call(self) self._opts = opts || {}