removes unused context binding from Discourse.SyntaxHighlighting
This commit is contained in:
parent
27985292e3
commit
c446cc6ce1
|
@ -16,7 +16,6 @@ Discourse.SyntaxHighlighting = {
|
|||
@param {jQuery.selector} $elem The element we want to apply our highlighting to
|
||||
**/
|
||||
apply: function($elem) {
|
||||
var _this = this;
|
||||
return $('pre code[class]', $elem).each(function(i, e) {
|
||||
return $LAB.script("/javascripts/highlight-handlebars.pack.js").wait(function() {
|
||||
return hljs.highlightBlock(e);
|
||||
|
|
Loading…
Reference in New Issue