|
|
@@ -137,7 +137,7 @@ this.hooksFrame = this.hooksFrame || (() => {
|
|
|
const pendingRequestAnimationFrameCalls = new Map();
|
|
|
window.requestAnimationFrame = function (callback) {
|
|
|
if (!warningRequestAnimationFrameDisplayed) {
|
|
|
- console.warn("SingleFile is hooking the requestAnimationFrame function to load deferred images."); // eslint-disable-line no-console
|
|
|
+ console.warn("SingleFile is hooking the requestAnimationFrame and cancelAnimationFrame functions to load deferred images."); // eslint-disable-line no-console
|
|
|
warningRequestAnimationFrameDisplayed = true;
|
|
|
}
|
|
|
if (loadDeferredImages) {
|