single-file-core 1.5.66 → 1.5.67
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
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
return origFontFace();
|
|
349
349
|
}
|
|
350
350
|
getDetailObject(family, source, ...args).then(detail => document.dispatchEvent(new CustomEvent(NEW_FONT_FACE_EVENT, { detail })));
|
|
351
|
-
return new
|
|
351
|
+
return new origFontFace(family, source, ...args);
|
|
352
352
|
} catch (error) {
|
|
353
353
|
error.stack = error.message + "\n" + " \n" + error.stack.trim().split("\n").slice(-1).join("\n");
|
|
354
354
|
throw error;
|