symphonycms/symphony-2

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

Summary

Maintainability
A
3 hrs
Test Coverage

Function symphonyTags has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.fn.symphonyTags = function(options) {
        var objects = this,
            settings = {
                items: 'li'
            };
Severity: Minor
Found in symphony/assets/js/src/symphony.tags.js - About 2 hrs to fix

    Function tagging has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            objects.on('click.tags', settings.items, function tagging() {
                var item = $(this),
                    object = item.parent(),
                    input = object.prev().find('input, textarea'),
                    value = input.val(),
    Severity: Minor
    Found in symphony/assets/js/src/symphony.tags.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status