|
|
@@ -43,7 +43,6 @@ const dispatchEvent = event => globalThis.dispatchEvent(event);
|
|
|
const CustomEvent = globalThis.CustomEvent;
|
|
|
const document = globalThis.document;
|
|
|
const HTMLDocument = globalThis.HTMLDocument;
|
|
|
-const FileReader = globalThis.FileReader;
|
|
|
const Blob = globalThis.Blob;
|
|
|
|
|
|
let fontFaces;
|
|
|
@@ -126,6 +125,7 @@ function injectedScript() {
|
|
|
const console = globalThis.console;
|
|
|
const dispatchEvent = event => globalThis.dispatchEvent(event);
|
|
|
const CustomEvent = globalThis.CustomEvent;
|
|
|
+ const FileReader = globalThis.FileReader;
|
|
|
const warn = (console && console.warn && ((...args) => console.warn(...args))) || (() => { });
|
|
|
const NEW_FONT_FACE_EVENT = "single-file-new-font-face";
|
|
|
const FONT_STYLE_PROPERTIES = {
|