Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
403 bytes
|
Line | |
---|
1 | /* global window */
|
---|
2 | import ponyfill from './ponyfill.js';
|
---|
3 |
|
---|
4 | var root;
|
---|
5 |
|
---|
6 | if (typeof self !== 'undefined') {
|
---|
7 | root = self;
|
---|
8 | } else if (typeof window !== 'undefined') {
|
---|
9 | root = window;
|
---|
10 | } else if (typeof global !== 'undefined') {
|
---|
11 | root = global;
|
---|
12 | } else if (typeof module !== 'undefined') {
|
---|
13 | root = module;
|
---|
14 | } else {
|
---|
15 | root = Function('return this')();
|
---|
16 | }
|
---|
17 |
|
---|
18 | var result = ponyfill(root);
|
---|
19 | export default result;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.