Invalid javascript when setStripJavascriptCommentsAndWhitespace is enabled
--------------------------------------------------------------------------

                 Key: WICKET-2060
                 URL: https://issues.apache.org/jira/browse/WICKET-2060
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.5
            Reporter: Emond Papegaaij


When setStripJavascriptCommentsAndWhitespace is enabled (for example in 
deployment mode), some javascript files get corrupted. For example, the 
following line (notice the 2 spaces after 'return')
return  this.__unbind__(type, fn);
is compacted to
return
this.__unbind__(type, fn);
which does not execute the unbind function.

-- 
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