You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2007/06/19 17:21:26 UTC
[jira] Reopened: (WICKET-501) javascript comment stripping is
erroneous
[ https://issues.apache.org/jira/browse/WICKET-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Ertl reopened WICKET-501:
-------------------------------
Sorry, but this issue seems to not be fixed 100%...
I get this error message in Firefox
>> unterminated string literal --- in jquery.js (line 707)
if ( !t.indexOf("\n
I attached the input file (it's jquery.js) and the corresponding output (jquery-stripped.js)
> javascript comment stripping is erroneous
> -----------------------------------------
>
> Key: WICKET-501
> URL: https://issues.apache.org/jira/browse/WICKET-501
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Peter Ertl
> Assignee: Jean-Baptiste Quenot
> Priority: Critical
> Fix For: 1.3.0-beta2
>
> Attachments: 20070425-WICKET-501-JavascriptStripper.txt, jquery.js
>
>
> The following line is crippled when using javascript comment stripping
> (from jquery.js)
> // Handle the common XPath // expression
> if ( !t.indexOf("//") ) {
> it will be result in
> if ( !t.indexOf("
> the // inside the string quotes are taken as a comment instead of as a string...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.