Skip to content

Commit 1872b03

Browse files
Nepomucenopetebacondarwin
authored andcommitted
style(docs/app): remove commented code
Closes angular#984
1 parent 85799aa commit 1872b03

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/app/js/code.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ angular.module('code', [])
55
restrict: 'E',
66
terminal: true,
77
compile: function(element) {
8-
var linenums = element.hasClass('linenum');// || element.parent()[0].nodeName === 'PRE';
8+
var linenums = element.hasClass('linenum');
99
var match = /lang-(\S+)/.exec(element[0].className);
1010
var lang = match && match[1];
1111
var html = element.html();
1212
element.html(window.prettyPrintOne(html, lang, linenums));
1313
}
1414
};
15-
});
15+
});

0 commit comments

Comments
 (0)