scholarslab/prism

View on GitHub
public/javascripts/compiled/highlight.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function setup_highlight has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  (typeof exports !== "undefined" && exports !== null ? exports : this).setup_highlight = function() {
    var all_colors, color, current_color, currently_marking, facet, get_word_number, mark, storage, val, _i, _j, _len, _len2, _ref;
    $("#highlighters span.facet").first().addClass('border');
    all_colors = [];
    _ref = $("li.facet");
Severity: Major
Found in public/javascripts/compiled/highlight.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status