Skip to content

update keyword list #6389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion jscomp/ext/js_reserved_map.ml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ let sorted_keywords = [|
"CSSUnparsedValue";
"CSSVariableReferenceValue";
"CanvasCaptureMediaStreamTrack";
"CanvasFilter";
"CanvasGradient";
"CanvasPattern";
"CanvasRenderingContext2D";
Expand Down Expand Up @@ -172,6 +171,7 @@ let sorted_keywords = [|
"DelegatedInkTrailPresenter";
"Document";
"DocumentFragment";
"DocumentPictureInPictureEvent";
"DocumentTimeline";
"DocumentType";
"DragEvent";
Expand Down Expand Up @@ -571,6 +571,7 @@ let sorted_keywords = [|
"Screen";
"ScreenOrientation";
"ScriptProcessorNode";
"ScrollTimeline";
"SecurityPolicyViolationEvent";
"Selection";
"Set";
Expand Down Expand Up @@ -610,6 +611,7 @@ let sorted_keywords = [|
"TextTrackCueList";
"TextTrackList";
"TimeRanges";
"ToggleEvent";
"Touch";
"TouchEvent";
"TouchList";
Expand Down Expand Up @@ -639,8 +641,10 @@ let sorted_keywords = [|
"VideoColorSpace";
"VideoFrame";
"VideoPlaybackQuality";
"ViewTimeline";
"ViewTransition";
"VirtualKeyboardGeometryChangeEvent";
"VisibilityStateEntry";
"VisualViewport";
"WaveShaperNode";
"WeakMap";
Expand Down
6 changes: 5 additions & 1 deletion jscomp/keywords.list
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ CSSUnitValue
CSSUnparsedValue
CSSVariableReferenceValue
CanvasCaptureMediaStreamTrack
CanvasFilter
CanvasGradient
CanvasPattern
CanvasRenderingContext2D
Expand Down Expand Up @@ -143,6 +142,7 @@ DelayNode
DelegatedInkTrailPresenter
Document
DocumentFragment
DocumentPictureInPictureEvent
DocumentTimeline
DocumentType
DragEvent
Expand Down Expand Up @@ -542,6 +542,7 @@ Scheduling
Screen
ScreenOrientation
ScriptProcessorNode
ScrollTimeline
SecurityPolicyViolationEvent
Selection
Set
Expand Down Expand Up @@ -581,6 +582,7 @@ TextTrackCue
TextTrackCueList
TextTrackList
TimeRanges
ToggleEvent
Touch
TouchEvent
TouchList
Expand Down Expand Up @@ -610,8 +612,10 @@ ValidityState
VideoColorSpace
VideoFrame
VideoPlaybackQuality
ViewTimeline
ViewTransition
VirtualKeyboardGeometryChangeEvent
VisibilityStateEntry
VisualViewport
WaveShaperNode
WeakMap
Expand Down
5 changes: 4 additions & 1 deletion scripts/build_reserved.ml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@
"setTimeout";
"__dirname";
"__filename";
"__esModule"
"__esModule";

(* Bun global obj *)
"Bun"
|]


Expand Down