Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2014-11-03 03:13:42 +0300
committerFeross Aboukhadijeh <feross@feross.org>2014-11-03 03:13:42 +0300
commit5d1ac6d7c3ee18ab0cd9fb17dff683a8a094687a (patch)
tree29efd9c166bfe716bc67849c9648c03edb8aecae /index.js
parente06be73c3ea035380927df807a4e58136b118324 (diff)
style
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index e8404cd..7bb6374 100644
--- a/index.js
+++ b/index.js
@@ -144,7 +144,7 @@ WebTorrent.prototype.download = function (torrentId, opts, ontorrent) {
opts.client = self
opts.storage = opts.storage || self.storage
- if(opts.tmp) opts.storageOpts = { tmp: opts.tmp };
+ if (opts.tmp) opts.storageOpts = { tmp: opts.tmp }
var torrent = new Torrent(torrentId, extend({ client: self }, opts))
self.torrents.push(torrent)