look ma, theres 3D now

This commit is contained in:
STEINNI
2025-09-25 20:47:58 +00:00
parent 7c6047462f
commit 73e2b5a762
11 changed files with 78778 additions and 61 deletions
+4 -3
View File
@@ -131,7 +131,7 @@ class Sparc {
console.log('back from checkAuthenticated')
if(this.User.isAuthenticated) {
console.log('authenticated OK')
window.onbeforeunload = () => "Do you really want to leave EISMEA application ?";
window.onbeforeunload = () => "Do you really want to leave this application ?";
// Loading base Classes, who can now use app.config.
// If later we do multi-app then one config per app, and baseclass instantiated with its own config.
@@ -384,7 +384,7 @@ class Loader {
static loadScript(src) {
return new Promise((resolve, reject) => {
const script = document.createElement('script')
script.type = 'text/javascript'
script.type = src.split('?')[0].endsWith('.module.js')? 'module' : 'text/javascript'
script.onload = resolve
script.onerror = reject
script.src = src
@@ -464,7 +464,7 @@ class Loader {
* Load a list of scripts.
* @static
* @param {string} basepath - base path (something like /sccripts/)
* @param {Array<string>} scripts - array of scripts to load
* @param {Array<string>} scripts - array of scripts to load. to load a module instead of a JS, just end the filename with '.module.js) like: "mysuperlib.module.js"
* @param {(string|object)} dependencies - Last minute Dependancies :tree object ( like {'scriptName': ['deps1', 'dep2,...]} ) or path to its json file.
* @param {function} callback - Called when everything is loaded
* @returns {Promise} A promise resolved whn-en all is loaded
@@ -494,6 +494,7 @@ class Loader {
);
}
/**
* Load a list of views.
* @static