Skip to content

Commit 83b5762

Browse files
committed
comment inevitable underscore polyvariant fields
- uncomment fields once it is possible to rewrite jsxDOM.ml to res.
1 parent 8fff974 commit 83b5762

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

jscomp/others/jsxDOM.ml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ type domProps = {
3939
(* accessibility *)
4040
(* https://www.w3.org/TR/wai-aria-1.1/ *)
4141
(* https://accessibilityresources.org/<aria-tag> is a great resource for these *)
42-
ariaCurrent: [`page | `step | `location | `date | `time | `_true | `_false]
43-
[@ns.optional] [@bs.as "aria-current"];
42+
(* ariaCurrent: [`page | `step | `location | `date | `time | `_true | `_false]
43+
[@ns.optional] [@bs.as "aria-current"]; *)
4444
ariaDetails: string
4545
[@ns.optional] [@bs.as "aria-details"];
4646
ariaDisabled: bool
4747
[@ns.optional] [@bs.as "aria-disabled"];
4848
ariaHidden: bool
4949
[@ns.optional] [@bs.as "aria-hidden"];
50-
ariaInvalid: [`grammar | `spelling | `_true| `_false]
51-
[@ns.optional] [@bs.as "aria-invalid"];
50+
(* ariaInvalid: [`grammar | `spelling | `_true| `_false]
51+
[@ns.optional] [@bs.as "aria-invalid"]; *)
5252
ariaKeyshortcuts: string
5353
[@ns.optional] [@bs.as "aria-keyshortcuts"];
5454
ariaLabel: string
@@ -58,12 +58,12 @@ type domProps = {
5858
(* Widget Attributes *)
5959
ariaAutocomplete: [`inline | `list | `both | `none]
6060
[@ns.optional] [@bs.as "aria-autocomplete"];
61-
ariaChecked: [`_true | `_false | `mixed] (* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate *)
62-
[@ns.optional] [@bs.as "aria-checked"];
61+
(* ariaChecked: [`_true | `_false | `mixed] (* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate *)
62+
[@ns.optional] [@bs.as "aria-checked"]; *)
6363
ariaExpanded: bool
6464
[@ns.optional] [@bs.as "aria-expanded"];
65-
ariaHaspopup: [`menu | `listbox | `tree | `grid | `dialog | `_true | `_false]
66-
[@ns.optional] [@bs.as "aria-haspopup"];
65+
(* ariaHaspopup: [`menu | `listbox | `tree | `grid | `dialog | `_true | `_false]
66+
[@ns.optional] [@bs.as "aria-haspopup"]; *)
6767
ariaLevel: int
6868
[@ns.optional] [@bs.as "aria-lavel"];
6969
ariaModal: bool
@@ -76,8 +76,8 @@ type domProps = {
7676
[@ns.optional] [@bs.as "aria-orientation"];
7777
ariaPlaceholder: string
7878
[@ns.optional] [@bs.as "aria-placeholder"];
79-
ariaPressed: [`_true | `_false| `mixed] (* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate *)
80-
[@ns.optional] [@bs.as "aria-pressed"];
79+
(* ariaPressed: [`_true | `_false| `mixed] (* https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate *)
80+
[@ns.optional] [@bs.as "aria-pressed"]; *)
8181
ariaReadonly: bool
8282
[@ns.optional] [@bs.as "aria-readonly"];
8383
ariaRequired: bool
@@ -275,8 +275,8 @@ type domProps = {
275275
[@ns.optional];
276276
list: string
277277
[@ns.optional];
278-
loading: [`_lazy | `eager]
279-
[@ns.optional];
278+
(* loading: [`_lazy | `eager]
279+
[@ns.optional]; *)
280280
loop: bool
281281
[@ns.optional];
282282
low: int

0 commit comments

Comments
 (0)