Skip to content

allow passing custom jQuery into UMD factory #206

@veldsla

Description

@veldsla

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions