Skip to content

Commit

Permalink
Merge pull request #25 from inhabitedtype/jsoo-deprecation
Browse files Browse the repository at this point in the history
jsoo-deprecation: require jsoo >= 3.5.0
  • Loading branch information
seliopou authored Apr 26, 2020
2 parents 6bf6c66 + 68fbcee commit fe2ad40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dispatch-js.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ depends: [
"ocaml" {>= "4.03.0"}
"dune" {build & >= "1.0"}
"dispatch" {>="0.4.0"}
"js_of_ocaml-lwt" {>="3.3.0" & < "3.5.0"}
"js_of_ocaml-lwt" {>= "3.5.0"}
"result"
]
build: [
Expand Down
1 change: 1 addition & 0 deletions js/dispatch_js.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
open Lwt
open Result
open Js_of_ocaml
module Lwt_js_events = Js_of_ocaml_lwt.Lwt_js_events

let dispatch_on_fragment ?on_failure ?(default="/") routes =
let dispatch = Dispatch.dispatch routes in
Expand Down

0 comments on commit fe2ad40

Please sign in to comment.