style(docs/app): remove commented code

Closes #984
This commit is contained in:
GabrielBico 2015-03-17 14:56:08 +00:00 committed by Peter Bacon Darwin
parent 85799aa1a5
commit 1872b03fb8
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@ angular.module('code', [])
restrict: 'E',
terminal: true,
compile: function(element) {
var linenums = element.hasClass('linenum');// || element.parent()[0].nodeName === 'PRE';
var linenums = element.hasClass('linenum');
var match = /lang-(\S+)/.exec(element[0].className);
var lang = match && match[1];
var html = element.html();
element.html(window.prettyPrintOne(html, lang, linenums));
}
};
});
});