allow passing custom jQuery into UMD factory
Opened this issue · 0 comments
veldsla commented
The latest version of the UMD factory snippet you linked allows for passing a custom window/jQuery.
https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js
For me this fixes an issue where I can't use the plugin because it's loaded on a new jQuery instance instead if my global one.