Skip to content

Commit 22dbcba

Browse files
committed
Changelog: add window.matchMedia & MediaQueryList
Separated so it’s easier to overlay patches without conflicts in changelog.
1 parent 437ac42 commit 22dbcba

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
* Compiler: deadcode elimination of cyclic values (#1978)
4040
* Compiler: directly write Wasm binary modules (#2000, #2003)
4141
* Compiler: rewrote inlining pass (#1935, #2018)
42+
* Library: add Dom_html.window.matchMedia & Dom_html.mediaQueryList (#2017)
4243

4344
## Bug fixes
4445
* Compiler: fix stack overflow issues with double translation (#1869)

lib/js_of_ocaml/dom_html.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2313,7 +2313,7 @@ class type _URL = object
23132313
end
23142314

23152315
class type mediaQueryList = object
2316-
method media : js_string t prop
2316+
method media : js_string t prop
23172317

23182318
method matches : bool readonly_prop
23192319

lib/js_of_ocaml/dom_html.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2165,7 +2165,7 @@ class type _URL = object
21652165
end
21662166

21672167
class type mediaQueryList = object
2168-
method media : js_string t prop
2168+
method media : js_string t prop
21692169

21702170
method matches : bool readonly_prop
21712171

0 commit comments

Comments
 (0)