mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-12 05:50:23 +00:00
Body nodes (containing Alpine x-data directives) were appended to the DOM immediately during the import loop, while <script type="module"> imports were awaited afterward. Alpine's MutationObserver would evaluate x-data expressions before the module had registered its store, causing "Cannot convert undefined or null to object" errors. Collect body nodes into a buffer and append them only after Promise.all(loadPromises) resolves, ensuring stores are registered before Alpine processes the DOM. |
||
|---|---|---|
| .. | ||
| AlpineStore.js | ||
| api.js | ||
| cache.js | ||
| components.js | ||
| confirmClick.js | ||
| confirmDialog.js | ||
| css.js | ||
| device.js | ||
| extensions.js | ||
| initFw.js | ||
| initializer.js | ||
| manifest.json | ||
| messages.js | ||
| modals.js | ||
| scroller.js | ||
| shortcuts.js | ||
| sleep.js | ||
| speech_browser.js | ||
| sw.js | ||
| time-utils.js | ||
| timeout.js | ||
| transformers@3.0.2.js | ||
| websocket.js | ||