You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Emond Papegaaij (JIRA)" <ji...@apache.org> on 2009/01/30 13:32:04 UTC
[jira] Updated: (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 ]
Emond Papegaaij updated WICKET-2060:
------------------------------------
Attachment: jquery.hotkeys-0.7.8.js
The file that triggers the problem (see line 85)
> 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
> 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.