adobe/brackets

View on GitHub
src/widgets/ModalBar.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function ModalBar has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function ModalBar(template, autoClose, animate) {
        if (animate === undefined) {
            animate = true;
        }

Severity: Minor
Found in src/widgets/ModalBar.js - About 1 hr to fix

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

        ModalBar.prototype.close = function (restoreScrollPos, animate, _reason) {
            var result = new $.Deferred(),
                self = this;
    
            if (restoreScrollPos === undefined) {
    Severity: Minor
    Found in src/widgets/ModalBar.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status