Adding Semicolons to correctly Concatenate and minify log4js
Brought to you by:
mbreese
I ran into a problem, when packaging my JavaScripts. My Packaging-Run concatenates a few javascripts into one file. After that, i ran into an error-message. This was due to the fact that log4js ends on a "}", and the next script starts with "(". This leads to an unintended function-call.
I inserted semi-colons in the appropriate places. Basically "Log.debug = function () {.....};" is an assignment, in the same sense that var test = "lala"; is an assignment, which is why it also needs to be ended with the semi-colon. I attached my patch, which inserts them in all the right places. Nothing else has been changed.
Adding Semicolons