-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: 6.0.6 GA
-
Fix Version/s: 6.0.6 GA
-
Component/s: ~ [Archived] Frontend Infrastructure
-
Labels:None
I have recently upgraded from Liferay 5.2.3 to 6.0 and my jQuery is also upgraded to 1.7.
The Javascript minifier started failing for the JS code that was working fine with the previous minifier that came part of Liferay 5.2.3.
For example, the below line of code:
jQuery('a[id^="bannerLink"]').attr('href', links[cur]).attr('target', targets[cur]);
is getting passed through the YUI compressor as:
jQuery('a[id^="bannerLink"]').attr('href', links[cur]).attr('target', targets[cur]);
When I embed double quotes within single quotes I am getting this issue. The error it says Javascript Minifier: syntax error
Please let me know how to fix this issue.