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

var csp = require('plexus-csp/src/index.js'); doesn't work as is #1

Open
jmarca opened this issue Mar 21, 2015 · 1 comment
Open

var csp = require('plexus-csp/src/index.js'); doesn't work as is #1

jmarca opened this issue Mar 21, 2015 · 1 comment

Comments

@jmarca
Copy link

jmarca commented Mar 21, 2015

Hi, great library, great documentation/explanation.

I am running io.js, and so tried:

var csp = require('plexus-csp/src/index.js');

(around line 86 of the readme.md)
but got lots of errors about not finding things. I cloned the code and renamed all the .es6.js stuff just plain .js, npm installed my modified directory, and it worked fine.

So there's nothing wrong with the library under io.js, aside from this issue that trying to invoke it as above doesn't work.

@odf
Copy link
Contributor

odf commented Mar 21, 2015

Thanks for spotting that! Yeah, I think I should just get rid of those .es6.js names. I'm glad you're liking the library and documentation.

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

2 participants