crowdAI/crowdai

View on GitHub
app/assets/javascripts/modules/rangy_inputs.js

Summary

Maintainability
A
45 mins
Test Coverage

Avoid deeply nested control flow statements.
Open

                        if (textInputRange.compareEndPoints("EndToEnd", endRange) > -1) {
                            end = len;
                        } else {
                            end = -textInputRange.moveEnd("character", -len);
                            end += normalizedValue.slice(0, end).split("\n").length - 1;
Severity: Major
Found in app/assets/javascripts/modules/rangy_inputs.js - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status