Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Revise comments
Browse files Browse the repository at this point in the history
  • Loading branch information
interfect committed Dec 19, 2016
1 parent f84438a commit 9105166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions examples/in-browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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.
Expand Down
4 changes: 1 addition & 3 deletions src/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 9105166

Please sign in to comment.