tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Menard (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2111) Remove HTML comments around JavaScript.
Date Fri, 01 Feb 2008 21:43:09 GMT
Remove HTML comments around JavaScript.
---------------------------------------

                 Key: TAPESTRY-2111
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2111
             Project: Tapestry
          Issue Type: Improvement
    Affects Versions: 4.1.4
            Reporter: Kevin Menard
            Priority: Minor


Tapestry's generated JavaScript generates HTML comments around its JavaScript.  While this
served a purpose with older browsers, it really doesn't do much with anything semi-recent.
 These browsers, if they don't support JavaScript, know not to render the text inside the
script tag anyway.  My guess is that the only browsers that this would be useful for are also
those that look for the "language" attribute, rather than the "text" attribute of the script
tag, so they're dead in the water anyway.

On top of all this, there have been unconfirmed reports that the comments can mess up IE7
in certain situations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message