Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 569120f

Browse files
authored
Update javascript.cson
1 parent 40a1be4 commit 569120f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grammars/javascript.cson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@
997997
}
998998
{
999999
'match': '''(?x) (?<!\\$) \\b (?:
1000-
(document|event|navigator|performance|screen|window|self|frames|globalThis)
1000+
(document|event|navigator|performance|screen|window|self|frames)
10011001
|
10021002
(AnalyserNode|ArrayBufferView|Attr|AudioBuffer|AudioBufferSourceNode|AudioContext|AudioDestinationNode|AudioListener
10031003
|AudioNode|AudioParam|BatteryManager|BeforeUnloadEvent|BiquadFilterNode|Blob|BufferSource|ByteString|CSS|CSSConditionRule
@@ -1112,7 +1112,7 @@
11121112
'name': 'support.variable.property.dom.js'
11131113
}
11141114
{
1115-
'match': '(?<!\\.)\\b(module|exports|__filename|__dirname|global|process)(?!\\s*:)\\b'
1115+
'match': '(?<!\\.)\\b(module|exports|__filename|__dirname|global|globalThis|process)(?!\\s*:)\\b'
11161116
'name': 'support.variable.js'
11171117
}
11181118
{

0 commit comments

Comments
 (0)