/wp-js-syntax-highlighter/branches/0.4.2+3.0.83/loader.full.js |
---|
133,7 → 133,7 |
// Replace .syntax-highlight, used in older versions |
jQuery('.syntax-highlight').each(function() { |
var cn = jQuery(this).attr('class'); |
jQuery(this).attr('class', cn.replace(/syntax-highlight ?/, 'syntax-highlight brush:/') |
jQuery(this).attr('class', cn.replace(/syntax-highlight ?/, 'syntax-highlight brush:')); |
}); |
var detected = []; |
var re = /brush: ?(\w+)/i; |