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>2015-03-01 00:56:42 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-03-01 00:56:42 +0300
commit56fcce4366b27ff7be902a283a6073aa9420bac2 (patch)
tree0772a797f6a9251a157b4fbccb401fec2fe7adf0 /README.md
parenta44506e679b5c4ac7341bbb3ef277e2c092362e9 (diff)
doc: `client.get` can return `null`
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5ab9e1d..1ccc289 100644
--- a/README.md
+++ b/README.md
@@ -330,8 +330,8 @@ An array of all torrents in the client.
#### `client.get(torrentId)`
-Returns the torrent with the given `torrentId`. Convenience method. Easier than
-searching through the `client.torrents` array.
+Returns the torrent with the given `torrentId`. Convenience method. Easier than searching
+through the `client.torrents` array. Returns `null` if no matching torrent found.
#### `client.ratio`