From c446cc6ce1a0ea8ae134e75488e810ca15e83e66 Mon Sep 17 00:00:00 2001 From: Wojciech Zawistowski Date: Fri, 11 Oct 2013 18:37:18 +0200 Subject: [PATCH] removes unused context binding from Discourse.SyntaxHighlighting --- .../javascripts/discourse/components/syntax_highlighting.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/syntax_highlighting.js b/app/assets/javascripts/discourse/components/syntax_highlighting.js index 930ae516979..2b16e6923e1 100644 --- a/app/assets/javascripts/discourse/components/syntax_highlighting.js +++ b/app/assets/javascripts/discourse/components/syntax_highlighting.js @@ -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);