mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Remove unused declaration to cheer up linter
This commit is contained in:
parent
e04ec2c0c3
commit
cef4c3f5d2
1 changed files with 0 additions and 10 deletions
|
@ -40,16 +40,6 @@ export class Logger {
|
|||
// work out how to import messaging/webext without breaking everything
|
||||
return async (...message) => {
|
||||
console.error(...message)
|
||||
const getContext = () => {
|
||||
if (!("tabs" in browser)) {
|
||||
return "content"
|
||||
} else if (
|
||||
browser.runtime.getURL(
|
||||
"_generated_background_page.html",
|
||||
) === window.location.href
|
||||
)
|
||||
return "background"
|
||||
}
|
||||
return browser.runtime.sendMessage({
|
||||
type: "controller_background",
|
||||
command: "acceptExCmd",
|
||||
|
|
Loading…
Add table
Reference in a new issue