Ready to get started?Download WordPress


Crayon Syntax Highlighter
JavaScript error in combination with Crayon Syntax and W3 Total (3 posts)

  1. pitschr
    Posted 2 years ago #


    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>


    /* <![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


  2. pitschr
    Posted 2 years ago #

    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

  3. akarmenia
    Plugin Author

    Posted 2 years ago #

    Thanks for notifying me of this! Hmm... I'll try out JS minify!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.