[richfaces-issues] [JBoss JIRA] (RF-12425) Showcase fails to load SyntaxHighlighter scripts when Require.js is present

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Sep 6 14:16:34 EDT 2012


     [ https://issues.jboss.org/browse/RF-12425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-12425:
-------------------------------

    Fix Version/s: 4.2.3.CR1
                       (was: 4.2-Tracking)

    
> Showcase fails to load SyntaxHighlighter scripts when Require.js is present
> ---------------------------------------------------------------------------
>
>                 Key: RF-12425
>                 URL: https://issues.jboss.org/browse/RF-12425
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: showcase
>    Affects Versions: 4.2.2.Final
>            Reporter: Ken Finnigan
>            Assignee: Ken Finnigan
>             Fix For: 4.2.3.CR1, 4.3.0.Milestone2
>
>
> SyntaxHighlighter JS files include following lines:
> typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
> When require.js is not present it doesn't cause an issue, but when require.js is also loaded shCore module is not loaded properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list