Skip to content

Commit d0b4399

Browse files
committed
make more more more less diff in JsxDOM
1 parent ba72b70 commit d0b4399

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

jscomp/others/jsxDOM.ml

+4-8
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ type domProps = {
5454
ariaRoledescription: string
5555
[@ns.optional] [@bs.as "aria-roledescription"];
5656
(* Widget Attributes *)
57-
ariaAutocomplete: [`inline | `list | `both| `none]
58-
[@ns.optional] [@bs.as "aria-autocomplete"];
57+
(* [@ns.optional] [@bs.as "aria-autocomplete"] ariaAutocomplete: inline|list|both|none, *)
5958
(* [@ns.optional] [@bs.as "aria-checked"] ariaChecked: true|false|mixed, https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate *)
6059
ariaExpanded: bool
6160
[@ns.optional] [@bs.as "aria-expanded"];
@@ -68,8 +67,7 @@ type domProps = {
6867
[@ns.optional] [@bs.as "aria-multiline"];
6968
ariaMultiselectable: bool
7069
[@ns.optional] [@bs.as "aria-multiselectable"];
71-
ariaOrientation: [`horizontal | `vertical | `undefined]
72-
[@ns.optional] [@bs.as "aria-orientation"];
70+
(* [@ns.optional] [@bs.as "aria-orientation"] ariaOrientation: horizontal|vertical|undefined, *)
7371
ariaPlaceholder: string
7472
[@ns.optional] [@bs.as "aria-placeholder"];
7573
(* [@ns.optional] [@bs.as "aria-pressed"] ariaPressed: true|false|mixed, https://www.w3.org/TR/wai-aria-1.1/#valuetype_tristate *)
@@ -94,13 +92,11 @@ type domProps = {
9492
[@ns.optional] [@bs.as "aria-atomic"];
9593
ariaBusy: bool
9694
[@ns.optional] [@bs.as "aria-busy"];
97-
ariaLive: [`off | `polite | `assertive | `rude]
98-
[@ns.optional] [@bs.as "aria-live"];
95+
(* [@ns.optional] [@bs.as "aria-live"] ariaLive: off|polite|assertive|rude *)
9996
ariaRelevant: string
10097
[@ns.optional] [@bs.as "aria-relevant"];
10198
(* Drag-and-Drop Attributes *)
102-
ariaDropeffect: [`copy | `move | `link | `execute | `popup | `none]
103-
[@ns.optional] [@bs.as "aria-dropeffect"];
99+
(* [@ns.optional] [@bs.as "aria-dropeffect"] ariaDropeffect: copy|move|link|execute|popup|none *)
104100
ariaGrabbed: bool
105101
[@ns.optional] [@bs.as "aria-grabbed"];
106102
(* Relationship Attributes *)

0 commit comments

Comments
 (0)