[
https://jira.jboss.org/jira/browse/RF-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Belaevski updated RF-4582:
-------------------------------
Fix Version/s: Future
> RichFaces JSMin compressor can create invalid Javascript
> --------------------------------------------------------
>
> Key: RF-4582
> URL: https://jira.jboss.org/jira/browse/RF-4582
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.2
> Environment: Windows XP
> Reporter: Matt Wheeler
> Fix For: Future
>
>
> If a Javascript file has something like:
> var something = 'abc' + ++this.increment;
> then, after compression, it will look something like var
> a='abc'+++this.increment. This may not be the exact translation, but, the
> important part is the three plus signs together which make the Javascript
> invalid. It can of course be fixed by changing the original script to var
> something = 'abc' + (++this.increment);, but everyone may not have that
> liberty. I tried this with the YUI Compressor, and it seemed to handle it
> correctly, but we could not use that for other reasons.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues