Skip to content

Commit c0dd8d7

Browse files
committed
tidy up...
1 parent 9ee4384 commit c0dd8d7

5 files changed

Lines changed: 60 additions & 33 deletions

File tree

include/graphics/grid.svg

Lines changed: 56 additions & 0 deletions
Loading

src/client/embedded/MainEmbedded.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ import { EmbeddedSlider } from "./EmbeddedSlider.js";
2424
import { JOScript } from "./EmbeddedStarter.js";
2525
import { WriteQueryManager } from "./WriteQueryManager.js";
2626

27+
import gridUrl from '/include/graphics/grid.svg';
28+
2729
import jQuery from "jquery";
2830

2931
type JavaOnlineConfig = {
@@ -606,16 +608,13 @@ export class MainEmbedded implements MainBase {
606608

607609
makeWaitDiv(): JQuery<HTMLElement> {
608610

609-
//@ts-ignore
610-
let url = (window.javaOnlineDir == null ? '' : window.javaOnlineDir) + 'assets/graphics/grid.svg';
611-
612611
let waitHtml = `
613612
<div class="bitteWarten">
614613
<div style="margin-bottom: 30px">
615614
<div class="bitteWartenText" style="font-size: 20px"></div>
616615
</div>
617616
<div>
618-
<img src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"pl-s1">${url}" alt="" style="height: 40px">
617+
<img src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"pl-s1">${gridUrl}" alt="" style="height: 40px">
619618
</div>
620619
<div class="bitteWartenProgress" style="font-size: 20px"></div>
621620
</div>

src/client/sqljs-worker/DatabaseTools.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@ export class DatabaseTool {
8080

8181
let t = performance.now();
8282

83-
// console.log("Starting worker...");
84-
85-
// let url: string = "worker/sqljs-worker.js"
86-
// if(this.main.isEmbedded()){
87-
// //@ts-ignore
88-
// url = window.javaOnlineDir + url;
89-
// }
90-
9183
// @ts-ignore
9284
if(window.jo_doc){
9385
// In embedded mode inside iframe the calling domain is different, so web workers are not supported

tsconfig_development-tools.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { searchForWorkspaceRoot, type UserConfig } from 'vite'
1+
import { type UserConfig } from 'vite'
22
import commonConfig from './vite.config-common.ts'
33

44
export default {

0 commit comments

Comments
 (0)