19 lines
403 B
JavaScript
Executable file
19 lines
403 B
JavaScript
Executable file
/* global window */
|
|
import ponyfill from './ponyfill.js';
|
|
|
|
var root;
|
|
|
|
if (typeof self !== 'undefined') {
|
|
root = self;
|
|
} else if (typeof window !== 'undefined') {
|
|
root = window;
|
|
} else if (typeof global !== 'undefined') {
|
|
root = global;
|
|
} else if (typeof module !== 'undefined') {
|
|
root = module;
|
|
} else {
|
|
root = Function('return this')();
|
|
}
|
|
|
|
var result = ponyfill(root);
|
|
export default result;
|