You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2009/02/23 20:26:02 UTC

[jira] Resolved: (WICKET-2060) Invalid javascript when setStripJavascriptCommentsAndWhitespace is enabled

     [ https://issues.apache.org/jira/browse/WICKET-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag resolved WICKET-2060.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-RC3

seems to be fixed. See JavascriptStripperTest.java

> 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
>            Assignee: Matej Knopp
>             Fix For: 1.4-RC3
>
>         Attachments: jquery.hotkeys-0.7.8.js
>
>
> 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.