theforeman/foreman

View on GitHub
app/assets/javascripts/late_load.js

Summary

Maintainability
A
1 hr
Test Coverage

Function load_dynamic_javascripts has 42 lines of code (exceeds 25 allowed). Consider refactoring.
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
Severity: Minor
Found in app/assets/javascripts/late_load.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status