main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
328 bytes
|
Line | |
---|
1 | import ResizeObserverPolyfill from './ResizeObserver.js';
|
---|
2 | import global from './shims/global.js';
|
---|
3 |
|
---|
4 | export default (() => {
|
---|
5 | // Export existing implementation if available.
|
---|
6 | if (typeof global.ResizeObserver !== 'undefined') {
|
---|
7 | return global.ResizeObserver;
|
---|
8 | }
|
---|
9 |
|
---|
10 | return ResizeObserverPolyfill;
|
---|
11 | })();
|
---|
Note:
See
TracBrowser
for help on using the repository browser.