Skip to content

Commit

Permalink
Remove API client constructor from window.Ipfs
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Apr 25, 2018
1 parent b39eccc commit 9b383f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions add-on/src/contentScripts/ipfs-proxy/page.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
'use strict'

const Ipfs = require('ipfs')
const { createProxyClient } = require('ipfs-postmsg-proxy')
const _Buffer = Buffer

window.Buffer = window.Buffer || _Buffer
window.Ipfs = window.Ipfs || Ipfs
window.ipfs = window.ipfs || createProxyClient()

0 comments on commit 9b383f1

Please sign in to comment.