mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
Add urlutils to tri object for Lexi
This commit is contained in:
parent
3bf8b83aca
commit
3cecfe6f27
|
|
@ -139,6 +139,7 @@ import * as native from "@src/lib/native"
|
||||||
import * as styling from "@src/content/styling"
|
import * as styling from "@src/content/styling"
|
||||||
import { EditorCmds as editor } from "@src/content/editor"
|
import { EditorCmds as editor } from "@src/content/editor"
|
||||||
import * as updates from "@src/lib/updates"
|
import * as updates from "@src/lib/updates"
|
||||||
|
import * as urlutils from "@src/lib/url_util"
|
||||||
/* tslint:disable:import-spacing */
|
/* tslint:disable:import-spacing */
|
||||||
; (window as any).tri = Object.assign(Object.create(null), {
|
; (window as any).tri = Object.assign(Object.create(null), {
|
||||||
browserBg: webext.browserBg,
|
browserBg: webext.browserBg,
|
||||||
|
|
@ -163,6 +164,7 @@ import * as updates from "@src/lib/updates"
|
||||||
contentLocation: window.location,
|
contentLocation: window.location,
|
||||||
perf,
|
perf,
|
||||||
updates,
|
updates,
|
||||||
|
urlutils,
|
||||||
})
|
})
|
||||||
|
|
||||||
logger.info("Loaded commandline content?", commandline_content)
|
logger.info("Loaded commandline content?", commandline_content)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue