app/assets/javascripts/extra/highlight.js
Showing 1 of 1 total issue
Function highlightShow
has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring. Open
Open
function highlightShow(id) { $('td.code span.highlight-line').removeClass('highlight-line'); var from = to = id.substring(4); if (/[0-9]+\-lc-[0-9]+$/.test(from)) { var index = to.indexOf('-');
- Read upRead up