Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
12 lines
328 B
Plaintext
12 lines
328 B
Plaintext
import ResizeObserverPolyfill from './ResizeObserver.js';
|
|
import global from './shims/global.js';
|
|
|
|
export default (() => {
|
|
// Export existing implementation if available.
|
|
if (typeof global.ResizeObserver !== 'undefined') {
|
|
return global.ResizeObserver;
|
|
}
|
|
|
|
return ResizeObserverPolyfill;
|
|
})();
|