Browse Source

fix invalid data URI

Gildas 4 years ago
parent
commit
b381442b7e

+ 2 - 2
lib/single-file/processors/hooks/content/content-hooks-frames-web.js

@@ -280,7 +280,7 @@
 		let warningFontFaceDisplayed;
 		globalThis.FontFace = function () {
 			if (!warningFontFaceDisplayed) {
-				warn("SingleFile is hooking the FontFace constructor to get font URLs."); // eslint-disable-line no-console
+				warn("SingleFile is hooking the FontFace constructor to get font URLs.");
 				warningFontFaceDisplayed = true;
 			}
 			const detail = {};
@@ -314,7 +314,7 @@
 		let warningIntersectionObserverDisplayed;
 		globalThis.IntersectionObserver = function () {
 			if (!warningIntersectionObserverDisplayed) {
-				warn("SingleFile is hooking the IntersectionObserver API to detect and load deferred images."); // eslint-disable-line no-console
+				warn("SingleFile is hooking the IntersectionObserver API to detect and load deferred images.");
 				warningIntersectionObserverDisplayed = true;
 			}
 			const intersectionObserver = new IntersectionObserver(...arguments);