newscoop/JS-Scoopwriter

View on GitHub
app/scripts/directives/sf-aloha-format-style.js

Summary

Maintainability
A
1 hr
Test Coverage

Function postLink has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            link: function postLink(scope, element, attrs) {
                var isDisabled = (
                    Aloha.queryCommandSupported('formatBlock') &&
                    Aloha.queryCommandEnabled('formatBlock')
                );
Severity: Minor
Found in app/scripts/directives/sf-aloha-format-style.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status