|
|
@@ -56,7 +56,7 @@
|
|
|
const requestAnimationFrame = window.requestAnimationFrame;
|
|
|
const cancelAnimationFrame = window.cancelAnimationFrame;
|
|
|
const console = window.console;
|
|
|
- const warn = console.warn;
|
|
|
+ const warn = (console && console.warn) || (() => { });
|
|
|
|
|
|
const observers = new Map();
|
|
|
const observedElements = new Map();
|