marcuswestin/Caret-position

View on GitHub

Showing 1 of 1 total issue

Function getPosition has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function getPosition(input) {
        var docObj = input.ownerDocument,
            result = { start:0, end:0, caret:0 }
        
        if (navigator.appVersion.indexOf("MSIE")!=-1) {
Severity: Minor
Found in caret-position.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language