docs: update examples for latest libp2p rc (#353)

* docs: update chat example readme

* docs: update discovery test for autodial

* docs: fix delegated routing example

* docs: update echo example readme

* docs: fix libp2p in the browser example

* docs: update examples for peer/content routing

* docs: update the pubsub example
This commit is contained in:
Jacob Heun
2019-04-11 15:52:04 +02:00
committed by GitHub
parent aa1d9b273a
commit 4cb541ddae
16 changed files with 64 additions and 86 deletions

View File

@ -1,11 +1,10 @@
// eslint-disable-next-line
'use strict'
const React = require('react')
import React from 'react'
import Ipfs from 'ipfs'
import libp2pBundle from './libp2p-bundle'
const Component = React.Component
const Ipfs = require('ipfs')
const libp2pBundle = require('./libp2p-bundle')
// require('./App.css')
const BootstrapNode = '/ip4/127.0.0.1/tcp/8081/ws/p2p/QmdoG8DpzYUZMVP5dGmgmigZwR1RE8Cf6SxMPg1SBXJAQ8'
@ -150,4 +149,4 @@ class App extends Component {
}
}
module.exports = App
export default App