Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

window.ipfsApi undefined in browser #119

Closed
ckeenan opened this issue Nov 15, 2015 · 1 comment
Closed

window.ipfsApi undefined in browser #119

ckeenan opened this issue Nov 15, 2015 · 1 comment

Comments

@ckeenan
Copy link
Contributor

ckeenan commented Nov 15, 2015

Re docs:

Make the ipfsapi.min.js available through your server and load it using a normal <script> tag, this will export the ipfsAPI constructor on the window object, such that...

However, I am seeing console.log(window.ipfsAPI) // undefined

Is documentation up to date for in-browser usage? I am trying to test out #55 (comment)

@dignifiedquire
Copy link
Contributor

Thanks for the report, looks like we are missing the proper export setting in browserify to export as a global.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants