I use the Telerik MVC ScriptRegistrar to combine and compress all my javascript files. I noticed that unlike the Telerik MVC javascript files, the contents of kendo minified javascript files are not terminated by a semicolon. So when the ScriptRegistrar combines the javascript files, whatever follows my kendo.web.min.js file fails to load properly. In my specific case, it was telerik.common.js.
I didn't notice this until I tried to publish my files to go live, since in debug mode, the ScriptRegistrar does not use the min files. I fixed it by just adding a semicolon in.
Is there something I'm doing wrong, or is this just a pitfall of combining javascript files into one? Should Kendo min files have that semicolon? Or maybe this is a ScriptRegistrar shortcoming?
I didn't notice this until I tried to publish my files to go live, since in debug mode, the ScriptRegistrar does not use the min files. I fixed it by just adding a semicolon in.
Is there something I'm doing wrong, or is this just a pitfall of combining javascript files into one? Should Kendo min files have that semicolon? Or maybe this is a ScriptRegistrar shortcoming?