app/javascript/oldjs/remote_console.js
Unexpected function expression.$(function() {Unexpected function expression. $('#fullscreen').click(function() {Expected a default case. switch (true) {Similar blocks of code found in 4 locations. Consider refactoring. case document.fullScreenEnabled: if (document.fullscreenElement) { document.exitFullscreen(); } else { document.documentElement.requestFullscreen(); } break;Similar blocks of code found in 4 locations. Consider refactoring. case document.webkitFullscreenEnabled: if (document.webkitFullscreenElement) { document.webkitExitFullscreen(); } else { document.documentElement.webkitRequestFullscreen(); } break;Similar blocks of code found in 4 locations. Consider refactoring. case document.mozFullScreenEnabled: if (document.mozFullScreenElement) { document.mozCancelFullScreen(); } else { document.documentElement.mozRequestFullScreen(); } break;Similar blocks of code found in 4 locations. Consider refactoring. case document.msFullscreenEnabled: if (document.msFullscreenElement) { document.msExitFullscreen(); } else { document.documentElement.msRequestFullscreen(); } break; } });});