Fixed kokoro loading process.
This commit is contained in:
+1
-14
@@ -51,20 +51,7 @@ const ModuleLoader = (function() {
|
||||
}
|
||||
|
||||
console.log('Module Loader: Initialization started');
|
||||
|
||||
// Check for circular dependencies before proceeding
|
||||
const circularDependencies = moduleRegistry.checkForCircularDependencies();
|
||||
if (circularDependencies) {
|
||||
const errorMsg = `Circular dependency detected: ${circularDependencies.join(' -> ')} -> ${circularDependencies[0]}`;
|
||||
console.error(errorMsg);
|
||||
document.body.innerHTML = `<div style="padding: 20px; color: white; background-color: #ff3333;">
|
||||
<h2>Fatal Error: Circular Module Dependency</h2>
|
||||
<p>${errorMsg}</p>
|
||||
<p>Please check the browser console for more details.</p>
|
||||
</div>`;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Create the loading overlay
|
||||
createLoadingOverlay();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user