assets/js/edge/edge.prism.js in edge_framework-0.9.12 vs assets/js/edge/edge.prism.js in edge_framework-0.10.0
- old
+ new
@@ -112,10 +112,9 @@
}
}
},
highlightAll: function(async, callback) {
- //var elements = document.querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code');
var elements = document.querySelectorAll("code[data-lang], [data-lang] code");
for (var i=0, element; element = elements[i++];) {
_.highlightElement(element, async === true, callback);
}
\ No newline at end of file