removes unused context binding from Discourse.SyntaxHighlighting

This commit is contained in:
Wojciech Zawistowski 2013-10-11 18:37:18 +02:00
parent 27985292e3
commit c446cc6ce1
1 changed files with 0 additions and 1 deletions

View File

@ -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);