aswi2020vldc-gitlab/templetes/node_modules/symbol-observable/es/index.js @ 3a515b92
1 | 3a515b92 | cagy | /* 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; |