Skip to content

UMD pattern#7

Open
jccr wants to merge 4 commits intobramstein:masterfrom
jccr:master
Open

UMD pattern#7
jccr wants to merge 4 commits intobramstein:masterfrom
jccr:master

Conversation

@jccr
Copy link

@jccr jccr commented Feb 3, 2018

This will define the plugin to be compatible as an AMD module or CommonJS module.
It makes it easier to use when you are importing jQuery and this when you are using RequireJS.
That appears to be the case for issue #6

For more details:
https://github.com/umdjs/umd
https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js

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

Successfully merging this pull request may close these issues.

1 participant