single-file-core 1.0.43 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
getDetailObject(...arguments).then(detail => dispatchEvent(new CustomEvent(NEW_FONT_FACE_EVENT, { detail })));
|
|
324
324
|
return new FontFace(...arguments);
|
|
325
325
|
};
|
|
326
|
-
globalThis.FontFace.
|
|
326
|
+
globalThis.FontFace.prototype = FontFace.prototype;
|
|
327
327
|
const deleteFont = document.fonts.delete;
|
|
328
328
|
document.fonts.delete = function (fontFace) {
|
|
329
329
|
getDetailObject(fontFace.family).then(detail => dispatchEvent(new CustomEvent(DELETE_FONT_EVENT, { detail })));
|