Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dist/loader.js #14

Closed
smuemd opened this issue Jul 2, 2017 · 2 comments
Closed

update dist/loader.js #14

smuemd opened this issue Jul 2, 2017 · 2 comments

Comments

@smuemd
Copy link
Contributor

smuemd commented Jul 2, 2017

I get alternating behaviour in the browser when using the dist/loader.js package via src="https://demo.stromdao.de/js/loader.js" (which works fine) versus npm via src="https://unpkg.com/stromdao-businessobject@0.4.7/dist/loader.js" and/or raw github download available at https://raw.githubusercontent.com/energychain/StromDAO-BusinessObject/master/dist/loader.js

This is the error when using the versions on npm/github:
image

It fires early and predictably at the first line.

in my example:
image

or in the js fiddle mpr demo
image

document.node.[...] doesn't seem to be available at all.

@smuemd
Copy link
Contributor Author

smuemd commented Jul 2, 2017

The files are definitely diffrent:
image

also see: https://www.diffchecker.com/vFSwoqgw (will take a while)

@smuemd smuemd changed the title loader.js vs loader.js update dist/loader.js Jul 2, 2017
@smuemd
Copy link
Contributor Author

smuemd commented Jul 7, 2017

Ok this is resolved. Browser usage examples available: https://demo.stromdao.de/showcase/sc1_frm.html

@smuemd smuemd closed this as completed Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant