[ 
https://issues.apache.org/jira/browse/TAP5-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659707#action_12659707
 ] 

Howard M. Lewis Ship commented on TAP5-407:
-------------------------------------------

Question: why is it relevant whether the JavaScript is in a comment block or 
not?  That was important 5+ years ago before browsers universally supports the 
<script> tag.

> DocumentLinker not commenting Javascript block properly
> -------------------------------------------------------
>
>                 Key: TAP5-407
>                 URL: https://issues.apache.org/jira/browse/TAP5-407
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.0, 5.1, 5.0.15, 5.0.16, 5.0.17, 5.0.18
>            Reporter: Fernando
>         Attachments: doc-js.diff
>
>
> The DocumentLinker is not commenting the javascript block properly.  It needs 
> to open with "<!-- //" instead of just "<!--".  (patch attached)
> even a wiki on tapestry shows how to use the javascript comments properly, 
> and says to please pay attention to how they are done...
> http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to