AdrianArroyoCalle/gajse

View on GitHub
lib/gajse-audio.js

Summary

Maintainability
A
1 hr
Test Coverage

Function enableAudio has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    enableAudio: function(){
        window.AudioContext = window.AudioContext || window.webkitAudioContext;
        this.audioContext=new AudioContext();
        document.addEventListener("GAJSE_SetBackgroundMusic",function(evt){
            console.log("SET BACKGROUND MUSIC: "+evt.detail.resource);
Severity: Minor
Found in lib/gajse-audio.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status