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

Replaced jQuery with $ to work with UMD wrapper #27

Merged
merged 1 commit into from
Jun 29, 2018

Conversation

SimmeNilsson
Copy link
Contributor

UMD wrapper for ko.plus library exposes jQuery as $ for the parts.
But for sortable part jQuery is still passed into the IIFE which makes it look globally for jQuery variable instead of using parameter $.
This pull request addresses that, (but if sortable is used as a separate file and $ is not set on window then might break).

UMD wrapper for ko.plus library exposes jQuery as $ for the parts.
But for sortable part jQuery is still passed into the IIFE which makes it look globally for jQuery variable instead of using parameter $.
This pull request addresses that, (but if sortable is used as a separate file and $ is not set on window then might break).
@stevegreatrex stevegreatrex merged commit 2745a53 into stevegreatrex:master Jun 29, 2018
@SimmeNilsson
Copy link
Contributor Author

Thanks! Would it be possible to update the npm package?

@stevegreatrex
Copy link
Owner

stevegreatrex commented Jul 17, 2018 via email

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.

2 participants