Merge claude/1
This commit is contained in:
commit
db080202b6
@ -1317,6 +1317,12 @@ class SystemLoader {
|
|||||||
// console.log(`📦 Loading script: ${src}`);
|
// console.log(`📦 Loading script: ${src}`);
|
||||||
const script = document.createElement('script');
|
const script = document.createElement('script');
|
||||||
script.src = src;
|
script.src = src;
|
||||||
|
// Dynamically-inserted scripts default to async=true and run in whatever
|
||||||
|
// order they finish downloading. Force async=false so a component's
|
||||||
|
// scripts[] execute in array/insertion order — required when a class is
|
||||||
|
// split across files (a base file must run before files that augment its
|
||||||
|
// prototype). Mirrors the ordered kernel ctx.loadScripts() path.
|
||||||
|
script.async = false;
|
||||||
script.onload = () => {
|
script.onload = () => {
|
||||||
// console.log(`✅ Script loaded: ${src}`);
|
// console.log(`✅ Script loaded: ${src}`);
|
||||||
resolve();
|
resolve();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user