fix: fixing issue on mobile

This commit is contained in:
Kacper Kula 2025-09-08 18:45:39 +01:00
parent 6e8b294bea
commit 8b12f5f374
3 changed files with 5 additions and 8 deletions

View file

@ -0,0 +1,5 @@
---
"sqlseal": patch
---
fixing issue with failure on mobile (due to unnecessary dependency)

View file

@ -10,7 +10,6 @@ type InitFn = () => void
'syntaxHighlight.init',
'contextMenu.init',
'sync.init',
'debug.init',
'api.init',
'globalTables.init',
'explorer.init'
@ -22,7 +21,6 @@ export class Init {
highlighInit: InitFn,
contextMenu: InitFn,
syncInit: InitFn,
debugInit: InitFn,
apiInit: InitFn,
globalTablesInit: InitFn,
explorerInit: InitFn
@ -33,7 +31,6 @@ export class Init {
highlighInit()
contextMenu()
syncInit()
// debugInit()
apiInit()
globalTablesInit()
explorerInit()

View file

@ -8,7 +8,6 @@ import { Init } from './init'
import { settingsModule } from '../settings/module'
import { syntaxHighlight } from '../syntaxHighlight/module'
import { contextMenu } from '../contextMenu/module'
import { debugModule } from '../debug/module'
import { apiModule } from '../api/module'
import { globalTables } from '../globalTables/module'
import { explorer } from '../explorer/module'
@ -31,7 +30,6 @@ export const mainModule = buildContainer(c => c
settings: settingsModule,
syntaxHighlight,
contextMenu,
debug: debugModule,
api: apiModule,
globalTables,
explorer
@ -73,9 +71,6 @@ export const mainModule = buildContainer(c => c
'contextMenu.app': 'obsidian.app',
'contextMenu.plugin': 'obsidian.plugin'
})
.resolve({
'debug.plugin': 'obsidian.plugin'
})
.resolve({
'api.plugin': 'obsidian.plugin',
'api.cellParser': 'syntaxHighlight.cellParser',