superdesk/superdesk-client-core

View on GitHub
scripts/core/upload/video-capture-directive.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function link has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        link: function(scope, elem) {
            var localMediaStream = null,
                canvas = angular.element('<canvas style="display:none"></canvas>'),
                ctx = canvas[0].getContext('2d'),
                tooLate = false;
Severity: Minor
Found in scripts/core/upload/video-capture-directive.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status