[
https://jira.jboss.org/jira/browse/GTNPORTAL-1182?page=com.atlassian.jira...
]
Trong Tran commented on GTNPORTAL-1182:
---------------------------------------
Currently we are using JSMin to reduce JavaScript file sizes and i can see that :
- this is a bug of JSMIN tool and we can reproduce it by trying test online
http://fmarcia.info/jsmin/test.html
- In addition, i have tried to use the YUI Compressor and it seems to works well ( test
online
http://yui.2clics.net/ )
Wrong merging javascript
------------------------
Key: GTNPORTAL-1182
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-1182
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.0.0-GA
Reporter: Phan Chuong
Priority: Critical
If we have a javascript syntax like this
e=f[0]*10000+(f[1]||0)*100+ +(f[2]||0);
after merge, we will have
e=f[0]*10000+(f[1]||0)*100++(f[2]||0);
and this syntax is wrong.
--
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