gocodebox/lifterlms

View on GitHub
assets/js/partials/_metabox-field-repeater.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function bind has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    bind: function() {

        var self = this;

        self.$repeaters.each( function() {
Severity: Minor
Found in assets/js/partials/_metabox-field-repeater.js - About 1 hr to fix

    Function add_row has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        add_row: function( $repeater, data, expand ) {
    
            var self      = this,
                $rows     = $repeater.find( '.llms-repeater-rows' ),
                $model    = $repeater.find( '.llms-repeater-model' ),
    Severity: Minor
    Found in assets/js/partials/_metabox-field-repeater.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status