We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
JS package is broken when merging a hash followed by a typical jquery plugin. Example:
<first.js> Tools={ myfn: function() {} }
<second.js> (function($){...})(jQuery)
after packaging this essentially produces the following: Tools={...}(function($){...})(jQuery)
which, upon execution, crashes with the following error: ({myfn:(function () {...}) is not a function
...and the rest of the package may be broken as well to a varying extent.
to fix that, one must explicitly separate the hash and the plugin with a semicolon:
<first.js> Tools={ ... }; //<-- !!!
bottomline is - that sucks
The text was updated successfully, but these errors were encountered:
try one of the yui forks, they should fix this error
Sorry, something went wrong.
No branches or pull requests
JS package is broken when merging a hash followed by a typical jquery plugin.
Example:
<first.js>
Tools={
myfn: function() {}
}
<second.js>
(function($){...})(jQuery)
after packaging this essentially produces the following:
Tools={...}(function($){...})(jQuery)
which, upon execution, crashes with the following error:
({myfn:(function () {...}) is not a function
...and the rest of the package may be broken as well to a varying extent.
to fix that, one must explicitly separate the hash and the plugin with a semicolon:
<first.js>
Tools={
...
}; //<-- !!!
bottomline is - that sucks
The text was updated successfully, but these errors were encountered: