From 0561d6104520ec3de73fbcf2c9a65518d2d684d4 Mon Sep 17 00:00:00 2001 From: xvw Date: Mon, 15 May 2017 05:30:38 +0200 Subject: [PATCH 1/2] Change type of Dom_html.storageEvent --- lib/dom_html.ml | 2 +- lib/dom_html.mli | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dom_html.ml b/lib/dom_html.ml index a9b4d2ce5b..837b6f029c 100644 --- a/lib/dom_html.ml +++ b/lib/dom_html.ml @@ -288,7 +288,7 @@ end and storageEvent = object inherit event - method key : js_string t readonly_prop + method key : js_string t opt readonly_prop method oldValue : js_string t opt readonly_prop method keynewValue : js_string t opt readonly_prop method url : js_string t readonly_prop diff --git a/lib/dom_html.mli b/lib/dom_html.mli index 38e659acff..e2f35087a2 100644 --- a/lib/dom_html.mli +++ b/lib/dom_html.mli @@ -297,7 +297,7 @@ end and storageEvent = object inherit event - method key : js_string t readonly_prop + method key : js_string t opt readonly_prop method oldValue : js_string t opt readonly_prop method keynewValue : js_string t opt readonly_prop method url : js_string t readonly_prop From d5788376af8780613ea2f37da99bc703563d7ab9 Mon Sep 17 00:00:00 2001 From: xvw Date: Mon, 15 May 2017 19:02:21 +0200 Subject: [PATCH 2/2] Change keynewValue by newValue --- lib/dom_html.ml | 2 +- lib/dom_html.mli | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dom_html.ml b/lib/dom_html.ml index 837b6f029c..32d3dc03a0 100644 --- a/lib/dom_html.ml +++ b/lib/dom_html.ml @@ -290,7 +290,7 @@ and storageEvent = object inherit event method key : js_string t opt readonly_prop method oldValue : js_string t opt readonly_prop - method keynewValue : js_string t opt readonly_prop + method newValue : js_string t opt readonly_prop method url : js_string t readonly_prop method storageArea : storage t opt readonly_prop end diff --git a/lib/dom_html.mli b/lib/dom_html.mli index e2f35087a2..afe4dea765 100644 --- a/lib/dom_html.mli +++ b/lib/dom_html.mli @@ -299,7 +299,7 @@ and storageEvent = object inherit event method key : js_string t opt readonly_prop method oldValue : js_string t opt readonly_prop - method keynewValue : js_string t opt readonly_prop + method newValue : js_string t opt readonly_prop method url : js_string t readonly_prop method storageArea : storage t opt readonly_prop end