diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-01-10 20:29:57 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-01-11 02:09:00 +0300 |
commit | f6290e9d6230538117d2db205596e28986f27066 (patch) | |
tree | 086fa0ce21eb49e89f3680431221b0a23c720dcf /README.md | |
parent | adb520d80d36f35e7c9aea18f2164fd23f509949 (diff) |
tests: cleanup
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -125,9 +125,9 @@ standards (no plugins, just HTML5 and WebRTC)! It's easy to get started! var WebTorrent = require('webtorrent') var client = new WebTorrent() -var magnetUri = '...' +var magnetURI = '...' -client.add(magnetUri, function (torrent) { +client.add(magnetURI, function (torrent) { // Got torrent metadata! console.log('Client is downloading:', torrent.infoHash) @@ -421,9 +421,9 @@ Here is a usage example: ```js var client = new WebTorrent() -var magnetUri = '...' +var magnetURI = '...' -client.add(magnetUri, function (torrent) { +client.add(magnetURI, function (torrent) { // create HTTP server for this torrent var server = torrent.createServer() server.listen(port) // start the server listening to a port |