source: node_modules/swagger-client/es/helpers/btoa.browser.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 370 bytes
RevLine 
[d24f17c]1/* eslint-disable no-undef, no-restricted-globals */
2
3const globalObject = (() => {
4 // new standardized access to the global object
5 if (typeof globalThis !== 'undefined') {
6 return globalThis;
7 }
8
9 // WebWorker specific access
10 if (typeof self !== 'undefined') {
11 return self;
12 }
13 return window;
14})();
15const {
16 btoa
17} = globalObject;
18export default btoa;
Note: See TracBrowser for help on using the repository browser.