Remove unused declaration to cheer up linter

This commit is contained in:
Oliver Blanthorn 2019-05-29 15:48:41 +01:00
parent e04ec2c0c3
commit cef4c3f5d2
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -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",