mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-22 01:09:07 +00:00
13 lines
241 B
JavaScript
13 lines
241 B
JavaScript
![]() |
/* global window */
|
||
|
import ponyfill from './ponyfill';
|
||
|
|
||
|
var root = this;
|
||
|
if (typeof global !== 'undefined') {
|
||
|
root = global;
|
||
|
} else if (typeof window !== 'undefined') {
|
||
|
root = window;
|
||
|
}
|
||
|
|
||
|
var result = ponyfill(root);
|
||
|
export default result;
|