Stripping javascript comments and whitespace breaks application when using 
prototype library
--------------------------------------------------------------------------------------------

                 Key: WICKET-987
                 URL: https://issues.apache.org/jira/browse/WICKET-987
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.3.0-beta3, 1.3.0-beta2, 1.3.0-beta1
         Environment: wicket-1.3.0-beta3, wicketstuff-scriptaculous-1.3-SNAPSHOT
            Reporter: Ryan Sonnek
            Priority: Blocker


whenever I enable stripping javascript comments and whitespace, I get 
javascript errors loading my prototype.js file.  Since wicket automatically 
enables this setting when in "DEPLOYMENT" mode, this is a real show stopper for 
releasing my app.

This has been talked about recently, but I would recommend using an "official" 
javascript minification library instead of this home rolled implementation.  
The YUI compressor seems to be correctly licensed and would be a great option, 
but I don't care as long as this is fixed. see WICKET-918 for more info

attaching sample project that exhibits the problem.


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