summaryrefslogtreecommitdiffabout
diff options
context:
space:
mode:
authorArmael <armael@isomorphis.me>2016-03-03 18:54:43 (CET)
committer Armael <armael@isomorphis.me>2016-03-03 18:54:43 (CET)
commit9bce2f7ce9ed8758ed8005ab899710f83ae38ef9 (patch)
tree2fdf5b7900106abf06766343609645fec5c818b5
parent183621df2c5f9b4973ad0ae8b730d07c7492a81e (diff)
downloaddict-9bce2f7ce9ed8758ed8005ab899710f83ae38ef9.tar.gz
dict-9bce2f7ce9ed8758ed8005ab899710f83ae38ef9.tar.bz2
Update with latest ReactiveData API
-rw-r--r--dict.ml6
1 files changed, 1 insertions, 5 deletions
diff --git a/dict.ml b/dict.ml
index 47fb6b0..4b1eda5 100644
--- a/dict.ml
+++ b/dict.ml
@@ -97,13 +97,9 @@ let results_html =
) res)
) results in
- let results'_v = React.S.value results' in
- let results'_e = React.S.map (fun x -> RList.Set x) results'
- |> React.S.changes in
-
div ~a:[a_class ["container"]] [
R.Html5.div ~a:[a_class ["results"]] (
- RList.make_from results'_v results'_e
+ RList.from_signal results'
)
]