Add urlutils to tri object for Lexi

This commit is contained in:
Oliver Blanthorn 2019-12-16 12:29:16 +00:00
parent 3bf8b83aca
commit 3cecfe6f27
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -139,6 +139,7 @@ import * as native from "@src/lib/native"
import * as styling from "@src/content/styling"
import { EditorCmds as editor } from "@src/content/editor"
import * as updates from "@src/lib/updates"
import * as urlutils from "@src/lib/url_util"
/* tslint:disable:import-spacing */
; (window as any).tri = Object.assign(Object.create(null), {
browserBg: webext.browserBg,
@ -163,6 +164,7 @@ import * as updates from "@src/lib/updates"
contentLocation: window.location,
perf,
updates,
urlutils,
})
logger.info("Loaded commandline content?", commandline_content)