aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-02-07 13:40:36 +0100
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:22:43 +0100
commitc0c82a7bfe8300b1bd50fee11074837ff32d3da0 (patch)
tree9d22cb772d2a16023edfe6c86f4f9f03be5f9c49 /css
parent2e29673fa970b814c97d5838963de49c2a65424b (diff)
Renamed fonctions in application framework, updated doc
Diffstat (limited to 'css')
-rwxr-xr-xcss/merger.ml6
1 files changed, 2 insertions, 4 deletions
diff --git a/css/merger.ml b/css/merger.ml
index 47fa906..ea6efe2 100755
--- a/css/merger.ml
+++ b/css/merger.ml
@@ -108,8 +108,7 @@ let file_list
Ev.listen
Ev.click
(fun _ -> sender (
- App.E( f.file
- , (module DelFile : App.Event with type t = DelFile.t))))
+ App.dispatch (module DelFile) f.file))
(El.as_target button);
match f.css with
@@ -215,8 +214,7 @@ let main id =
with
| _ -> None
in
- App.E ( { file ; css }
- , (module AddFile: App.Event with type t = AddFile.t )))
+ App.dispatch (module AddFile) { file ; css})
file_event in
let state =