Add ink integration UI and media playback

This commit is contained in:
2026-05-15 21:23:46 +02:00
parent 44dc64f830
commit f2e786d5bc
89 changed files with 6561 additions and 556 deletions
+7 -1
View File
@@ -310,7 +310,13 @@ export class BaseModule {
this._trackResource(url);
const script = document.createElement('script');
script.src = url;
const cacheBuster = window.MODULE_CACHE_BUSTER;
if (cacheBuster && /^\/(js|css)\//.test(url)) {
const separator = url.includes('?') ? '&' : '?';
script.src = `${url}${separator}v=${encodeURIComponent(cacheBuster)}`;
} else {
script.src = url;
}
if (isModule) {
script.type = 'module';
}