You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
403 B
19 lines
403 B
/* 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;
|
|
|