diff options
author | Benjamin Forster <e-e-e@users.noreply.github.com> | 2017-07-05 06:48:51 +1000 |
---|---|---|
committer | Karissa McKelvey <karissa@users.noreply.github.com> | 2017-07-04 13:48:51 -0700 |
commit | fb6f79fbb85444933d2771ea4311f1e08613f1e4 (patch) | |
tree | 1d3c057620250d2bb1bf4be6d70267a7d58388cc /docs | |
parent | d898ac97b6b541cf6d807bce530da45e25be9797 (diff) | |
download | dat-docs-fb6f79fbb85444933d2771ea4311f1e08613f1e4.tar.gz dat-docs-fb6f79fbb85444933d2771ea4311f1e08613f1e4.zip |
fix typo in example code. (#68)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/cookbook/browser.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cookbook/browser.md b/docs/cookbook/browser.md index ee20f9b..0a7d0bd 100644 --- a/docs/cookbook/browser.md +++ b/docs/cookbook/browser.md @@ -101,7 +101,7 @@ var archive = hyperdrive() var link = archive.discoveryKey.toString('hex') var swarm = webrtc(signalhub(link, DEFAULT_SIGNALHUBS)) -swarm.on('peer', function (peer) { +swarm.on('peer', function (conn) { var peer = archive.replicate({ upload: true, download: true |