Closed krnlde closed 12 years ago
Do you mean the separate plugin files like jquery.animate.js
?
It seems to be fine in the generated full file and the ones generated by the download builder.
Yep I'm talking about the seperate plugin files. The full file works fine.
I updated steal.pluginify to insert semicolons:
https://github.com/jupiterjs/steal/commit/14acd12915855bb4125254fa3a6c04452c5bd115
You can build your own and the files will be updated in the next release.
Hey, I found out that the compiled js files lack a semicolon at the end of the closure call
(function ($) {/*...*/})(jQuery)
. When you now merge some files it will result in this:which will file with the error defined in this issue title.
I suggest to put a semicolon before and after the closure call (this is also recommended by Mr. Crockford):
greets, krnl