mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 04:50:51 +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;
|