/wp-js-syntax-highlighter/branches/0.4.2+3.0.83/loader.full.js |
---|
130,7 → 130,7 |
var detected = []; |
var re = /brush: ?(\w+)/i; |
//jQuery('.brush\\:') would not match stuff like 'brush:css' (but it will match 'brush: css') |
jQuery('[class^=brush:]').each(function() { |
jQuery('[class^="brush:"]').each(function() { |
var cn = jQuery(this).attr('class'); |
var lang = cn.match(re)[1]; |
shLoader.reqLoad(lang); |