ejplatform/ej-server

View on GitHub
lib/js/components/base.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

function registerElementForComponent(component, elem) {
    let $elem = $(elem),
        name = $elem.attr('is-element'),
        parts = name.split(':'),
        event = 'click',
Severity: Minor
Found in lib/js/components/base.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status