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

Ken Finnigan (JIRA) jira-events at lists.jboss.org
Tue Aug 21 13:39:15 EDT 2012


Ken Finnigan created RF-12425:
---------------------------------

             Summary: 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


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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list