mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Fix #2158: add R to tri object
This commit is contained in:
parent
d813b09ae4
commit
56f69a7814
2 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,7 @@ import * as webext from "@src/lib/webext"
|
|||
import { AutoContain } from "@src/lib/autocontainers"
|
||||
import * as extension_info from "@src/lib/extension_info"
|
||||
import * as omnibox from "@src/background/omnibox"
|
||||
import * as R from "ramda"
|
||||
|
||||
// Add various useful modules to the window for debugging
|
||||
; (window as any).tri = Object.assign(Object.create(null), {
|
||||
|
@ -41,6 +42,7 @@ import * as omnibox from "@src/background/omnibox"
|
|||
webext,
|
||||
l: prom => prom.then(console.log).catch(console.error),
|
||||
contentLocation: window.location,
|
||||
R,
|
||||
perf,
|
||||
})
|
||||
|
||||
|
|
|
@ -141,6 +141,7 @@ import { EditorCmds as editor } from "@src/content/editor"
|
|||
import * as updates from "@src/lib/updates"
|
||||
import * as urlutils from "@src/lib/url_util"
|
||||
import * as scrolling from "@src/content/scrolling"
|
||||
import * as R from "ramda"
|
||||
/* tslint:disable:import-spacing */
|
||||
; (window as any).tri = Object.assign(Object.create(null), {
|
||||
browserBg: webext.browserBg,
|
||||
|
@ -165,6 +166,7 @@ import * as scrolling from "@src/content/scrolling"
|
|||
styling,
|
||||
contentLocation: window.location,
|
||||
perf,
|
||||
R,
|
||||
updates,
|
||||
urlutils,
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue