Skip to content

Commit f79636a

Browse files
committed
refactor: establish DOMNodes folder feature
1 parent fd314e8 commit f79636a

26 files changed

Lines changed: 39 additions & 20 deletions

rescript.json

Lines changed: 39 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
"WebAPI.Animation": ["WebAPI.Event", "Animation"],
99
"WebAPI.Geometry": ["WebAPI.DOM", "Geometry"],
1010
"WebAPI.CSSOM": ["WebAPI.Event", "CSSOM"],
11+
"WebAPI.DOMNodes": [
12+
"WebAPI.DOMPlatform",
13+
"WebAPI.Animation",
14+
"WebAPI.CSSOM",
15+
"WebAPI.Geometry",
16+
"DOMNodes"
17+
],
1118
"WebAPI.File": ["WebAPI.Event", "File"],
1219
"WebAPI.URL": ["WebAPI.DOM", "URL"],
1320
"WebAPI.Fetch": ["WebAPI.Event", "WebAPI.File", "WebAPI.URL", "Fetch"],
@@ -38,6 +45,38 @@
3845
"DOMTokenList"
3946
]
4047
},
48+
{
49+
"dir": "src/dom-nodes",
50+
"subdirs": true,
51+
"feature": "DOMNodes",
52+
"public": [
53+
"AbstractRange",
54+
"Attr",
55+
"CaretPosition",
56+
"CDATASection",
57+
"CharacterData",
58+
"Comment",
59+
"DOMImplementation",
60+
"DOMTree",
61+
"DocumentFragment",
62+
"Element",
63+
"ElementInternals",
64+
"HTML",
65+
"HTMLCollection",
66+
"NamedNodeMap",
67+
"Node",
68+
"NodeFilter",
69+
"NodeIterator",
70+
"NodeList",
71+
"ProcessingInstruction",
72+
"Range",
73+
"Selection",
74+
"ShadowRoot",
75+
"StaticRange",
76+
"Text",
77+
"TreeWalker"
78+
]
79+
},
4180
{
4281
"dir": "src/animation",
4382
"subdirs": true,
@@ -144,31 +183,21 @@
144183
"subdirs": true,
145184
"feature": "WebAPI.DOM",
146185
"public": [
147-
"CaretPosition",
148-
"CharacterData",
149-
"Comment",
150186
"CustomElementRegistry",
151-
"DOMImplementation",
152-
"DOMTree",
153187
"Document",
154-
"DocumentFragment",
155188
"DomHTMLMediaElement",
156-
"Element",
157-
"ElementInternals",
158189
"HTMLAnchorElement",
159190
"HTMLAreaElement",
160191
"HTMLAudioElement",
161192
"HTMLBRElement",
162193
"HTMLBaseElement",
163194
"HTMLBodyElement",
164195
"HTMLButtonElement",
165-
"HTMLCollection",
166196
"HTMLDListElement",
167197
"HTMLDataElement",
168198
"HTMLDataListElement",
169199
"HTMLDialogElement",
170200
"HTMLDivElement",
171-
"HTML",
172201
"HTMLElement",
173202
"HTMLEmbedElement",
174203
"HTMLFieldSetElement",
@@ -223,23 +252,13 @@
223252
"IdleDeadline",
224253
"ImageData",
225254
"Location",
226-
"NamedNodeMap",
227255
"Navigator",
228-
"Node",
229-
"NodeFilter",
230-
"NodeIterator",
231-
"NodeList",
232-
"Range",
233256
"SVGElement",
234257
"SVGGraphicsElement",
235258
"SVGLength",
236259
"ScreenOrientation",
237-
"Selection",
238-
"ShadowRoot",
239-
"Text",
240260
"TextTrackList",
241261
"TimeRanges",
242-
"TreeWalker",
243262
"VideoColorSpace",
244263
"Window",
245264
"XPathExpression",
File renamed without changes.

0 commit comments

Comments
 (0)