GitHub-jQuery-Repo-Widget icon indicating copy to clipboard operation
GitHub-jQuery-Repo-Widget copied to clipboard

Fixes missing semicolon in minified plugin.

Open abeisgoat opened this issue 11 years ago • 1 comments

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 avatar Nov 25 '13 05:11 abeisgoat

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

abeisgoat avatar Nov 25 '13 06:11 abeisgoat