ruhley/angular-color-picker

View on GitHub
src/scripts/template.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function template has 87 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function template($templateCache) {
    $templateCache.put('template/color-picker/directive.html',
        '<div class="color-picker-wrapper" ng-class="{' +
            '\'color-picker-disabled\': AngularColorPickerController.options.disabled,' +
            '\'color-picker-swatch-only\': AngularColorPickerController.options.swatchOnly,' +
Severity: Major
Found in src/scripts/template.js - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status