Be extra careful when appending minified JS
-------------------------------------------

                 Key: SHINDIG-126
                 URL: https://issues.apache.org/jira/browse/SHINDIG-126
             Project: Shindig
          Issue Type: Bug
            Reporter: Paul Lindner
            Assignee: Paul Lindner


When appending minified js files we can end up with code from two files on the 
same line.

File1.js -->    XX = {"moo" : 10};
jquery.js

Minifying removes the trailing semicolon and newline.

In this case you get 

  XX = {"moo": 10} (function(){if(window.jQuery)var _jQ .....


Fix involves appending ;\n to each javascript file.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to