@juggle/resize-observer
Advanced tools
Comparing version 3.0.0-0 to 3.0.0-1
@@ -34,3 +34,3 @@ import { ResizeObserverBoxOptions } from '../ResizeObserverBoxOptions'; | ||
var cs = getComputedStyle(target); | ||
var svg = isSVG(target) && target.getBBox(); | ||
var svg = isSVG(target) && !target.ownerSVGElement && target.getBBox(); | ||
var removePadding = !IE && cs.boxSizing === 'border-box'; | ||
@@ -37,0 +37,0 @@ var switchSizes = verticalRegexp.test(cs.writingMode || ''); |
@@ -116,3 +116,3 @@ (function (global, factory) { | ||
var cs = getComputedStyle(target); | ||
var svg = isSVG(target) && target.getBBox(); | ||
var svg = isSVG(target) && !target.ownerSVGElement && target.getBBox(); | ||
var removePadding = !IE && cs.boxSizing === 'border-box'; | ||
@@ -119,0 +119,0 @@ var switchSizes = verticalRegexp.test(cs.writingMode || ''); |
@@ -10,3 +10,2 @@ import { ResizeObserverCallback } from './ResizeObserverCallback'; | ||
} | ||
export default ResizeObserver; | ||
export { ResizeObserver }; |
@@ -38,3 +38,2 @@ import { ResizeObserverController } from './ResizeObserverController'; | ||
}()); | ||
export default ResizeObserver; | ||
export { ResizeObserver }; |
{ | ||
"name": "@juggle/resize-observer", | ||
"version": "3.0.0-0", | ||
"version": "3.0.0-1", | ||
"description": "Polyfills the ResizeObserver API and supports box size options from the latest spec", | ||
@@ -5,0 +5,0 @@ "main": "lib/exports/resize-observer.umd.js", |
@@ -31,3 +31,3 @@ <p align="center"> | ||
``` js | ||
import ResizeObserver from '@juggle/resize-observer'; | ||
import { ResizeObserver } from '@juggle/resize-observer'; | ||
@@ -45,3 +45,3 @@ const ro = new ResizeObserver((entries, observer) => { | ||
``` js | ||
import ResizeObserver from '@juggle/resize-observer'; | ||
import { ResizeObserver } from '@juggle/resize-observer'; | ||
@@ -64,3 +64,3 @@ const ro = new ResizeObserver((entries, observer) => { | ||
``` js | ||
import ResizeObserver from '@juggle/resize-observer'; | ||
import { ResizeObserver } from '@juggle/resize-observer'; | ||
@@ -89,3 +89,3 @@ const ro = new ResizeObserver((entries, observer) => { | ||
``` js | ||
import ResizeObserver from '@juggle/resize-observer'; | ||
import { ResizeObserver } from '@juggle/resize-observer'; | ||
@@ -147,3 +147,3 @@ const ro = new ResizeObserver((entries, observer) => { | ||
```js | ||
import ResizeObserver from '@juggle/resize-observer'; | ||
import { ResizeObserver } from '@juggle/resize-observer'; | ||
@@ -150,0 +150,0 @@ const ro = new ResizeObserver((entries, observer) => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69087
1123