app/assets/javascripts/late_load.js
Function load_dynamic_javascripts
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function load_dynamic_javascripts(html) {
function waitForAllLoaded() {
// Wait for all plugins js modules to be loaded before loading the javascript content
return new Promise(function(resolve) {
// window.allPluginsLoaded is set to {} when plugins are starting to load