Remove WebComponents polyfill

This commit is contained in:
hensm
2020-09-04 19:22:33 +01:00
parent 0d5e332b83
commit a5fa427e10
4 changed files with 0 additions and 264 deletions

View File

@@ -6,18 +6,6 @@ import { onMessageResponse, sendMessage } from "./eventMessageChannel";
import messaging, { Message } from "../messaging";
const { isFramework }
: { isFramework: boolean } = (window as any);
/**
* Framework API library requires webcomponents for the cast
* button custom element (<google-cast-launcher>).
*/
if (isFramework) {
loadScript(browser.runtime.getURL("vendor/webcomponents-lite.js"));
}
// Message port to background script
export const backgroundPort = messaging.connect({ name: "shim" });