jbox-web/redmine_bootstrap_kit

View on GitHub
assets/javascripts/codemirror/addon/selection/mark-selection.js

Summary

Maintainability
A
1 hr
Test Coverage

Function update has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function update(cm) {
    var from = cm.getCursor("start"), to = cm.getCursor("end");
    if (cmp(from, to) == 0) return clear(cm);

    var array = cm.state.markedSelection;
Severity: Minor
Found in assets/javascripts/codemirror/addon/selection/mark-selection.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status