WordPress.org

Support

Support » Plugins and Hacks » Crayon Syntax Highlighter » [Plugin: Crayon Syntax Highlighter] JavaScript error in combination with Crayon Syntax and W3 Total

[Plugin: Crayon Syntax Highlighter] JavaScript error in combination with Crayon Syntax and W3 Total

  • Hello.

    Today I updated the Crayon Syntax (from 1.10 to 1.11) and noticed that I am getting JavaScript error:

    Error: ReferenceError: CrayonSyntaxSettings is not defined
    Source: http://www.javatrail.net/wp-content/w3tc/min/db197df1.1e3513.js
    Line: 72

    The root cause is that JS minify places following line:

    <script type=”text/javascript” src=”http://www.javatrail.net/wp-content/w3tc/min/db197df1.1e3513.js”></script>

    before:

    /* <![CDATA[ */
    var CrayonSyntaxSettings = …;
    /* ]]> */

    Furthermore it is weird that “crayon_wp” in javascript also shows the full path of my home directory including my customer number!

    Apart from those issues I like your plugin!!!!

    – Chris

    http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Additional input:

    I downgraded the crayon syntax highlighter from 1.11 back to 1.10 .

    Therefore, don’t be confused if you see an older version of crayon syntax highlighter on my blog site 🙂

    – Chris

    Plugin Author akarmenia

    @akarmenia

    Thanks for notifying me of this! Hmm… I’ll try out JS minify!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Crayon Syntax Highlighter] JavaScript error in combination with Crayon Syntax and W3 Total’ is closed to new replies.
Skip to toolbar