Mobius1/MiniBar

View on GitHub
src/minibar.js

Summary

Maintainability
A
1 hr
Test Coverage

Avoid deeply nested control flow statements.
Open

                            if (mutation.type == 'childList') {
                                //  observe / unobserve items
                                for (var node of mutation.addedNodes) {
                                    mb.intersectionObserver.observe(node);
                                }
Severity: Major
Found in src/minibar.js - About 45 mins to fix

    Consider simplifying this complex logical expression.
    Open

                    if (items.length && "IntersectionObserver" in window) {
                        mb.items = items;
    
                        var threshold = [];
    
    
    Severity: Major
    Found in src/minibar.js - About 40 mins to fix

      There are no issues that match your filters.

      Category
      Status