style: format standalone configuration and build boundaries

This commit is contained in:
Sameh Khamis committed 2026-09-11 18:08:26 -07:00
1 parent 8de1018c21
commit fb67024f43
9 files changed
+111 -61

No files matched your search

+8 -2
View File
@@ -20,11 +20,17 @@ export function createStandaloneApplication({
const loaderStatus = loadingScreen.querySelector('.loader-status');
return createApplication({
createScene: (context) =>
createStandaloneScene({ ...context, googleApiKey, cesiumToken, loaderStatus }),
createStandaloneScene({
...context,
googleApiKey,
cesiumToken,
loaderStatus,
}),
createControls: (context) =>
createStandaloneControls({ ...context, loaderStatus }),
createData: (context) =>
createStandaloneData({ ...context, allowQaRegistration }),
createTools: (context) => createStandaloneTools({ ...context, loadingScreen }),
createTools: (context) =>
createStandaloneTools({ ...context, loadingScreen }),
});
}
+3 -1
View File
@@ -30,7 +30,9 @@ export function createStandaloneTools({
if (window.__gevAnnotations === annotations) delete window.__gevAnnotations;
annotations.destroy();
});
defer(startStandaloneChrome({ loadingScreen, styleManager, dataManager, signal }));
defer(
startStandaloneChrome({ loadingScreen, styleManager, dataManager, signal }),
);
// Idle render governor: flips the scene into requestRenderMode whenever
// nothing animates per frame. Installed AFTER every module above has had
// its chance to register pre-install holds. (perf wave 2)