darkwallet/darkwallet

View on GitHub
src/js/frontend/directives/qr-scanner.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

      link: function(scope, element, attrs) {

        $window.URL = $window.URL || $window.webkitURL || $window.mozURL || $window.msURL;
        navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;

Severity: Major
Found in src/js/frontend/directives/qr-scanner.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status