diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2021-12-03 04:19:53 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:43:33 +0100 |
commit | c6265278f05aa4d3af60e420f2d4d13e4bce8ad7 (patch) | |
tree | dece2b116d79a052a00e20c1ee2f7677c64190f9 /editor/actions/to_markdown.ml | |
parent | e78c236a8d28784370f192a3410693c456dc628f (diff) |
Removed the application mecanism from the state module
Diffstat (limited to 'editor/actions/to_markdown.ml')
-rwxr-xr-x | editor/actions/to_markdown.ml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/editor/actions/to_markdown.ml b/editor/actions/to_markdown.ml index c1ac774..80191f9 100755 --- a/editor/actions/to_markdown.ml +++ b/editor/actions/to_markdown.ml @@ -1,5 +1,7 @@ module Js = Js_of_ocaml.Js module PM = Prosemirror +module App = Editor_app + type buffer = Jstr.t Js.js_array Js.t type f = (buffer -> PM.Model.node Js.t -> unit) @@ -287,8 +289,8 @@ end (** Create a new element *) let create - : PM.t -> State.event + : PM.t -> App.event = fun pm -> - State.E + App.E ( pm - , (module ToMarkdown : State.Event with type t = ToMarkdown.t )) + , (module ToMarkdown : App.Event with type t = ToMarkdown.t )) |