From 9e67ed772a05daec160f1bb05977b8f65cf83fd6 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 16 Sep 2015 14:27:55 -0700 Subject: standard --- index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'index.js') diff --git a/index.js b/index.js index 1f24c4b..4f4577d 100644 --- a/index.js +++ b/index.js @@ -199,9 +199,11 @@ WebTorrent.prototype.seed = function (input, opts, onseed) { var streams var torrent = self.add(undefined, opts, function (torrent) { - var tasks = [function (cb) { - torrent.load(streams, cb) - }] + var tasks = [ + function (cb) { + torrent.load(streams, cb) + } + ] if (self.dht) { tasks.push(function (cb) { torrent.on('dhtAnnounce', cb) -- cgit v1.2.3