Merge pull request #1522 from velesin/syntax_highlighting_context_refactoring

removes unused context binding from Discourse.SyntaxHighlighting
This commit is contained in:
Régis Hanol 2013-10-11 09:46:47 -07:00
commit 35214f0b3a
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);