diff --git a/examples/in-browser/index.html b/examples/in-browser/index.html index c4648bfa4c..f8ef09adb1 100644 --- a/examples/in-browser/index.html +++ b/examples/in-browser/index.html @@ -8,7 +8,7 @@ // Something like // const SIGNALING_SERVER = '/libp2p-webrtc-star/ip4/127.0.0.1/tcp/9090/ws/ipfs/' const SIGNALING_SERVER = null - + // Make an IPFS node var ipfs = new Ipfs() @@ -38,9 +38,7 @@ if (err) { throw err } - if (SIGNALING_SERVER) { - // Add at least one libp2p-webrtc-star address. Without an address like this // the libp2p-webrtc-star transport won't be installed, and the resulting // node won't be able to dial out to libp2p-webrtc-star addresses. diff --git a/src/core/index.js b/src/core/index.js index 33e6236ea2..a1bf893ffe 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -68,8 +68,6 @@ function IPFS (repoInstance) { this.bitswap = bitswap(this) this.ping = ping(this) - // Export Buffer to somewhere where API consumers can get at it, for when - // we're running in a browser but still expect Buffer instances to be passed - // in. + // expose Buffer for browser applications this.Buffer = Buffer }