TIgor4eg
Member
Posted 1 year ago #
TIgor4eg
Member
Posted 1 year ago #
I modified crayon.ja, now it's
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
And the error is gone, but there is another error:
text.replace is not a function @ http://tigor.org.ua/wp-content/plugins/crayon-syntax-highlighter/js/crayon.js?ver=1.8.3:50
TIgor4eg
Member
Posted 1 year ago #
My bad. jQuery was inited after crayon.
Oh, WordPress should enqueue them correctly since jquery is specified as a dependency.
Also, IE < 9 had issues with this that I fixed in 1.9.0. Beta is on my twitter, but it will be released next week hopefully.