mar10/fancytree

View on GitHub
3rd-party/extensions/contextmenu/js/jquery.fancytree.contextMenu.js

Summary

Maintainability
A
1 hr
Test Coverage

Function initContextMenu has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var initContextMenu = function (tree, selector, menu, actions) {
        tree.$container.on("mousedown.contextMenu", function (event) {
            var node = $.ui.fancytree.getNode(event);

            if (node) {
Severity: Minor
Found in 3rd-party/extensions/contextmenu/js/jquery.fancytree.contextMenu.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status