lib/gajse-hud.js
Function setHUD
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setHUD: function(resource){
var hud=storage.getURLResourceAs(resource,{type: "image/svg+xml"});
var xhr=new XMLHttpRequest();
xhr.open("GET",hud,true);
xhr.addEventListener("load",function(){