summaryrefslogtreecommitdiff
path: root/editor/editor.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 13:43:47 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:43:33 +0100
commit6639625c1e24e764692ec9d65939ff9ef50d76df (patch)
tree099769a2b400309c3a509df294c3710fe5639536 /editor/editor.ml
parent47e4ab0cf1b7d364439a1a47df53f2d58a216239 (diff)
Rename application functions
Diffstat (limited to 'editor/editor.ml')
-rwxr-xr-xeditor/editor.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor.ml b/editor/editor.ml
index ee2ee0d..575e164 100755
--- a/editor/editor.ml
+++ b/editor/editor.ml
@@ -60,7 +60,7 @@ let build_view
module Store = struct
type t = El.t
- let update
+ let process
: t -> State.t -> State.t
= fun title_element state ->
let title = El.prop (El.Prop.value) title_element in
@@ -145,7 +145,7 @@ let app id content =
init_state
(Note.E.select
[ Brr_note.Evr.on_els Ev.focusout
- (fun _ _ -> App.ev (module Store) title)
+ (fun _ _ -> App.dispatch (module Store) title)
[ editor ; title ]
; btn_events
]) in