You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org> on 2007/04/25 23:20:15 UTC

[jira] Commented: (WICKET-501) javascript comment stripping is erroneous

    [ https://issues.apache.org/jira/browse/WICKET-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491782 ] 

Jean-Baptiste Quenot commented on WICKET-501:
---------------------------------------------

Can you attach the jquery.js file (just for diagnosing)?  What is the environment (platform, etc)?

> 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
>            Priority: Critical
>
> 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.