@juggle/resize-observer
Advanced tools
Comparing version 1.2.0 to 1.3.0
import { process } from '../ResizeObserverController'; | ||
import { prettifyConsoleOutput } from './prettify'; | ||
const CATCH_FRAMES = 5; | ||
const CATCH_FRAMES = 60 / 5; | ||
const requestAnimationFrame = window.requestAnimationFrame; | ||
@@ -58,5 +58,2 @@ const observerConfig = { attributes: true, characterData: true, childList: true, subtree: true }; | ||
run(frames) { | ||
if (resizeObserverSlot.has(this)) { | ||
return; | ||
} | ||
const scheduler = this; | ||
@@ -63,0 +60,0 @@ resizeObserverSlot.set(this, function ResizeObserver() { |
{ | ||
"name": "@juggle/resize-observer", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Polyfills the ResizeObserver API and supports box size options from the latest spec", | ||
@@ -5,0 +5,0 @@ "main": "./lib/ResizeObserver.js", |
44735
630