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

usage with plain html and javascript #15

Closed
gagan-bansal opened this issue Dec 30, 2014 · 3 comments
Closed

usage with plain html and javascript #15

gagan-bansal opened this issue Dec 30, 2014 · 3 comments

Comments

@gagan-bansal
Copy link

Very nice module, can you please make it compatible with plain HTML and JavaScript (I mean without nodejs). Can be done by putting module.export only if module exists.
Or do you see any issue by doing that.

@TooTallNate
Copy link
Member

This module is designed to be a CommonJS module. If you would like to use it in a <script> tag, then check out the Browserify CDN: http://wzrd.in/standalone/jsonp@latest

@gagan-bansal
Copy link
Author

Thanks, that's also a good approach and that will work for me.

@bytemofan
Copy link

Thanks,that's is very useful.

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

3 participants