source: node_modules/swagger-client/lib/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: 456 bytes
Line 
1"use strict";
2
3exports.__esModule = true;
4exports.default = void 0;
5/* eslint-disable no-undef, no-restricted-globals */
6
7const globalObject = (() => {
8 // new standardized access to the global object
9 if (typeof globalThis !== 'undefined') {
10 return globalThis;
11 }
12
13 // WebWorker specific access
14 if (typeof self !== 'undefined') {
15 return self;
16 }
17 return window;
18})();
19const {
20 btoa
21} = globalObject;
22var _default = exports.default = btoa;
Note: See TracBrowser for help on using the repository browser.