Skip to content

Fixes missing semicolon in minified plugin.#13

Open
abeisgoat wants to merge 1 commit into
JoelSutherland:masterfrom
abeisgoat:patch-1
Open

Fixes missing semicolon in minified plugin.#13
abeisgoat wants to merge 1 commit into
JoelSutherland:masterfrom
abeisgoat:patch-1

Conversation

@abeisgoat
Copy link
Copy Markdown

This missing semicolon causes an issue where jQuery may be undefined in the minified version due to the script being ran before your jQuery.js is loaded. This is not an issue in the non-minified version because the semicolon is present. This will probably require a change in your minification configuration to prevent regression :)

@abeisgoat
Copy link
Copy Markdown
Author

Actually, no. That doesn't solve that, it's an unrelated issue. Should the entire plugin be wrapped in a (function () {...}()) to solve this?

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