Skip to content

Commit

Permalink
Fix Error: Unbound module Js in math.ml from `manual/rev-bindings…
Browse files Browse the repository at this point in the history
….wiki`
  • Loading branch information
geofflangenderfer authored and smorimoto committed Apr 13, 2021
1 parent 931a7c0 commit 43ded38
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CHANGES.md
@@ -1,6 +1,9 @@
# ??? (??) - ??
+## Features/Changes
+* Lib: add innerText property for Dom_html
## Features/Changes
* Lib: add innerText property for Dom_html

## Misc
* manual/rev_bindings.wiki: fix compilation error

# 3.9.1 (2021-02-17) - Lille
## Features/Changes
Expand Down
4 changes: 4 additions & 0 deletions manual/rev-bindings.wiki
Expand Up @@ -5,6 +5,8 @@ create a JavaScript object containing all values to export
and to make the object reachable.

<<code language="ocaml"|
open Js_of_ocaml

let _ =
Js.export "myMathLib"
(object%js
Expand All @@ -23,6 +25,8 @@ myMathLib.add(3,4)

{{{
# cat math.ml
open Js_of_ocaml

let _ =
Js.export_all
(object%js
Expand Down

0 comments on commit 43ded38

Please sign in to comment.