Skip to content

Added UMD wrapper around directive so it can be used with webpack or other module loaders as well as standalone script#2

Open
davestaab wants to merge 6 commits intonmutalik:masterfrom
Cadre5:master
Open

Added UMD wrapper around directive so it can be used with webpack or other module loaders as well as standalone script#2
davestaab wants to merge 6 commits intonmutalik:masterfrom
Cadre5:master

Conversation

@davestaab
Copy link

I've wrapped the module in a UMD wrapper.
I used this one: https://github.com/umdjs/umd/blob/master/templates/returnExports.js

More info can be found here: https://github.com/umdjs/umd

This shouldn't change it's behavior when using it as a standalone script but it will also allow it to be used with webpack or other module loader systems.

Let me know what you think.

@davestaab
Copy link
Author

Any chance this can be merged?

Thanks!

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