fix: remove accidentally left-over code

This commit is contained in:
KernelDeimos 2024-08-29 21:36:10 -04:00 committed by Eric Dubé
parent 8ad435a0ea
commit 72946f920c

View File

@ -61,7 +61,6 @@ window.gui = async function(options){
// DEV: Load the initgui.js file if we are in development mode // DEV: Load the initgui.js file if we are in development mode
if(!window.gui_env || window.gui_env === "dev"){ if(!window.gui_env || window.gui_env === "dev"){
await window.loadScript('/sdk/puter.dev.js'); await window.loadScript('/sdk/puter.dev.js');
await window.loadScript('/putil.js/v1');
// await window.loadScript(`${options.asset_dir}/initgui.js`, {isModule: true}); // await window.loadScript(`${options.asset_dir}/initgui.js`, {isModule: true});
} }
@ -69,7 +68,6 @@ window.gui = async function(options){
// note: the order of the bundles is important // note: the order of the bundles is important
// note: Build script will prepend `window.gui_env="prod"` to the top of the file // note: Build script will prepend `window.gui_env="prod"` to the top of the file
else if(window.gui_env === "prod"){ else if(window.gui_env === "prod"){
await window.loadScript('https://js.puter.com/putil/v1/');
await window.loadScript('https://js.puter.com/v2/'); await window.loadScript('https://js.puter.com/v2/');
// Load the minified bundles // Load the minified bundles
await window.loadCSS('/dist/bundle.min.css'); await window.loadCSS('/dist/bundle.min.css');