mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-25 09:09:35 +01:00
Merge pull request #2722 from getkey/window-globals
Add `window` and `document` to globals
This commit is contained in:
commit
aa5b52239f
@ -10,6 +10,7 @@ export const globals = new Set([
|
||||
'Date',
|
||||
'decodeURI',
|
||||
'decodeURIComponent',
|
||||
'document',
|
||||
'encodeURI',
|
||||
'encodeURIComponent',
|
||||
'Infinity',
|
||||
@ -31,6 +32,7 @@ export const globals = new Set([
|
||||
'Set',
|
||||
'String',
|
||||
'undefined',
|
||||
'window',
|
||||
]);
|
||||
|
||||
export const reserved = new Set([
|
||||
|
Loading…
Reference in New Issue
Block a user