diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-02-20 17:16:29 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-02-20 17:16:29 +0100 |
commit | 0ad2935a1f6436d62251f30e826c9c78bfd49525 (patch) | |
tree | e9852ed84b8e6520361dbe514c98e13d69672be7 /node_modules/symbol-observable/es/index.js | |
parent | 23f4998dfec5edc8f0ce134d848c996d434181ba (diff) |
node_modules
Diffstat (limited to 'node_modules/symbol-observable/es/index.js')
-rw-r--r-- | node_modules/symbol-observable/es/index.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/node_modules/symbol-observable/es/index.js b/node_modules/symbol-observable/es/index.js new file mode 100644 index 000000000..4ed892d25 --- /dev/null +++ b/node_modules/symbol-observable/es/index.js @@ -0,0 +1,19 @@ +/* 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; |