SpontaneousCMS/spontaneous

View on GitHub
application/js/jquery-selection-position.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getSelectionPosition has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                    getSelectionPosition: function() {
                        var cal = calculator, self = this, element = self[0], elementOffset = self.offset();

                        cal.simulator.empty();
                        // clone primary styles to imitate textarea
Severity: Minor
Found in application/js/jquery-selection-position.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status