betajs/betajs-media-components

View on GitHub
src/dynamics/video_player/tootip/tooltip.js

Summary

Maintainability
A
1 hr
Test Coverage

Consider simplifying this complex logical expression.
Open

                    if (tooltipCollection && typeof tooltipCollection.get === "function") {
                        this.set("closeable", tooltipCollection.get("closeable") || false);
                        this.set("position", tooltipCollection.get("position") || 'top-right');
                        this.set("disappearafterinitial", (tooltipCollection.get("disappearafterseconds") || 2) * 1000);
                        this.set("disappearafter", this.get("disappearafterinitial"));
Severity: Critical
Found in src/dynamics/video_player/tootip/tooltip.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status