symphonycms/symphony-2

View on GitHub
symphony/assets/js/src/symphony.selectable.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function symphonySelectable has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.fn.symphonySelectable = function(options) {
        var objects = this,
            settings = {
                items: 'tbody tr:has(input)',
                ignore: 'a',
Severity: Major
Found in symphony/assets/js/src/symphony.selectable.js - About 2 hrs to fix

    Function select has 40 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            objects.on('click.selectable', settings.items, function select(event) {
                var item = $(this),
                    items = item.siblings().addBack(),
                    object = $(event.liveFired),
                    target = $(event.target),
    Severity: Minor
    Found in symphony/assets/js/src/symphony.selectable.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status