mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-21 16:59:08 +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;
|