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

Add support to javascript module patterns #40

Open
rafaellyra opened this issue Sep 12, 2014 · 4 comments
Open

Add support to javascript module patterns #40

rafaellyra opened this issue Sep 12, 2014 · 4 comments
Assignees

Comments

@rafaellyra
Copy link
Contributor

I think it would be good to add support to universal module patterns such as amd and commonjs

more info about at: https://github.com/umdjs/umd

@PawelDecowski
Copy link
Owner

Looks interesting. I’ll check it out when I have time.

Thanks.

@PawelDecowski PawelDecowski added this to the 1.2 milestone Oct 9, 2016
@PawelDecowski PawelDecowski self-assigned this Oct 9, 2016
@PawelDecowski
Copy link
Owner

@rafaellyra So all I need to do is wrap the plugin in this: https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js?

@truemed
Copy link

truemed commented Dec 6, 2017

@PawelDecowski I am using amd/requirejs with my project and would like to use your plugin. If you had this universal module pattern, it would be great. It might be as simple as using this gulp utility to wrap the plugin https://github.com/yivo/gulp-umd-wrap
or wrap the coffeescript code with this template https://gist.github.com/dra1n/6433619

@PawelDecowski
Copy link
Owner

@truemed It’ll be added in v1.2.

@PawelDecowski PawelDecowski removed this from the 1.2 milestone Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants