From 1872b03fb8513614eca0111d92f3316ee1f9672e Mon Sep 17 00:00:00 2001 From: GabrielBico Date: Tue, 17 Mar 2015 14:56:08 +0000 Subject: [PATCH] style(docs/app): remove commented code Closes #984 --- docs/app/js/code.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/app/js/code.js b/docs/app/js/code.js index abca20e76d..0550459d50 100644 --- a/docs/app/js/code.js +++ b/docs/app/js/code.js @@ -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)); } }; -}); \ No newline at end of file +});