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:
-rw-r--r--README.md4
-rw-r--r--index.js2
2 files changed, 2 insertions, 4 deletions
diff --git a/README.md b/README.md
index 9e750db..f4432b3 100644
--- a/README.md
+++ b/README.md
@@ -9,12 +9,10 @@
### Streaming torrent client for node & the browser
-
**WebTorrent** is a streaming torrent client for **node.js** and the **browser**. YEP,
THAT'S RIGHT. THE BROWSER. It's written completely in JavaScript – the language of the web
– so the same code works in both runtimes.
-
In node, this module is a simple torrent client, using TCP and UDP to talk to
normal torrent clients. Soon, it will gain the ability to swarm with web peers, making
it the first "hybrid" client.
@@ -298,7 +296,7 @@ Start seeding a new torrent.
- W3C [FileList](https://developer.mozilla.org/en-US/docs/Web/API/FileList) object (basically an array of `File` objects)
- Node [Buffer](http://nodejs.org/api/buffer.html) object (works in [the browser](https://www.npmjs.org/package/buffer))
-Or, an **array of `File` or `Buffer` objects**.
+Or, an **array of `string`, `File`, or `Buffer` objects**.
If `opts` is specified, it should contain the following types of options:
diff --git a/index.js b/index.js
index f6d98a8..6e5ee0d 100644
--- a/index.js
+++ b/index.js
@@ -182,7 +182,7 @@ WebTorrent.prototype.download = function (torrentId, opts, ontorrent) {
/**
* Start seeding a new file/folder.
- * @param {string|File|FileList|Buffer|Array.<File|Buffer>} input
+ * @param {string|File|FileList|Buffer|Array.<string|File|Buffer>} input
* @param {Object} opts
* @param {function} onseed
*/