diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2021-12-03 04:37:14 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:43:33 +0100 |
commit | 47e4ab0cf1b7d364439a1a47df53f2d58a216239 (patch) | |
tree | d2dd3e37d0168d114198777c78b5278a9d77c254 /editor/editor.ml | |
parent | c6265278f05aa4d3af60e420f2d4d13e4bce8ad7 (diff) |
Helper to build application events
Diffstat (limited to 'editor/editor.ml')
-rwxr-xr-x | editor/editor.ml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editor/editor.ml b/editor/editor.ml index d272f56..ee2ee0d 100755 --- a/editor/editor.ml +++ b/editor/editor.ml @@ -145,10 +145,7 @@ let app id content = init_state (Note.E.select [ Brr_note.Evr.on_els Ev.focusout - (fun _ _ -> - App.E - ( title - , (module Store:App.Event with type t = Store.t))) + (fun _ _ -> App.ev (module Store) title) [ editor ; title ] ; btn_events ]) in |