use self
This commit is contained in:
parent
06580d90b7
commit
63516b3217
2 changed files with 7 additions and 7 deletions
|
|
@ -1,32 +1,32 @@
|
||||||
/**
|
/**
|
||||||
* @type {import('./uv').UltravioletCtor}
|
* @type {import('./uv').UltravioletCtor}
|
||||||
*/
|
*/
|
||||||
const Ultraviolet = globalThis.Ultraviolet;
|
const Ultraviolet = self.Ultraviolet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('./uv').UVClientCtor}
|
* @type {import('./uv').UVClientCtor}
|
||||||
*/
|
*/
|
||||||
const UVClient = globalThis.UVClient;
|
const UVClient = self.UVClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('./uv').UVConfig}
|
* @type {import('./uv').UVConfig}
|
||||||
*/
|
*/
|
||||||
const __uv$config = globalThis.__uv$config;
|
const __uv$config = self.__uv$config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@tomphttp/bare-client').BareManifest}
|
* @type {import('@tomphttp/bare-client').BareManifest}
|
||||||
*/
|
*/
|
||||||
const __uv$bareData = globalThis.__uv$bareData;
|
const __uv$bareData = self.__uv$bareData;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
const __uv$bareURL = globalThis.__uv$bareURL;
|
const __uv$bareURL = self.__uv$bareURL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
const __uv$cookies = globalThis.__uv$cookies;
|
const __uv$cookies = self.__uv$cookies;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
typeof __uv$bareData !== 'object' ||
|
typeof __uv$bareData !== 'object' ||
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
/**
|
/**
|
||||||
* @type {import('./uv').UltravioletCtor}
|
* @type {import('./uv').UltravioletCtor}
|
||||||
*/
|
*/
|
||||||
const Ultraviolet = globalThis.Ultraviolet;
|
const Ultraviolet = self.Ultraviolet;
|
||||||
|
|
||||||
const cspHeaders = [
|
const cspHeaders = [
|
||||||
'cross-origin-embedder-policy',
|
'cross-origin-embedder-policy',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue