This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 997
997
}
998
998
{
999
999
' match' : ''' (?x) (?<!\\ $) \\ b (?:
1000
- (document|event|navigator|performance|screen|window)
1000
+ (document|event|navigator|performance|screen|window|self|frames )
1001
1001
|
1002
1002
(AnalyserNode|ArrayBufferView|Attr|AudioBuffer|AudioBufferSourceNode|AudioContext|AudioDestinationNode|AudioListener
1003
1003
|AudioNode|AudioParam|BatteryManager|BeforeUnloadEvent|BiquadFilterNode|Blob|BufferSource|ByteString|CSS|CSSConditionRule
1112
1112
' name' : ' support.variable.property.dom.js'
1113
1113
}
1114
1114
{
1115
- ' match' : ' (?<!\\ .)\\ b(module|exports|__filename|__dirname|global|process)(?!\\ s*:)\\ b'
1115
+ ' match' : ' (?<!\\ .)\\ b(module|exports|__filename|__dirname|global|globalThis| process)(?!\\ s*:)\\ b'
1116
1116
' name' : ' support.variable.js'
1117
1117
}
1118
1118
{
Original file line number Diff line number Diff line change @@ -114,11 +114,11 @@ scopes:
114
114
115
115
' identifier' : [
116
116
{
117
- match : ' ^(global|module|exports|__filename|__dirname)$' ,
117
+ match : ' ^(global|globalThis| module|exports|__filename|__dirname)$' ,
118
118
scopes : ' support.variable'
119
119
},
120
120
{
121
- match : ' ^(window|event|document|performance|screen|navigator|console)$'
121
+ match : ' ^(window|self|frames| event|document|performance|screen|navigator|console)$'
122
122
scopes : ' support.variable.dom'
123
123
},
124
124
{
You can’t perform that action at this time.
0 commit comments