Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Jul 14, 2019
1 parent 1968e81 commit 0f5567c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion toplevel/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(public_name js_of_ocaml-toplevel)
(synopsis "Js_of_ocaml toplevel library")
(wrapped (transition "Will be removed past 2019-04-01"))
(libraries lwt
(libraries
js_of_ocaml-compiler js_of_ocaml bytes
compiler-libs.bytecomp compiler-libs.toplevel)
(preprocess (pps js_of_ocaml-ppx)))
2 changes: 2 additions & 0 deletions toplevel/lib/js_of_ocaml_toplevel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
*)

module JsooTop = JsooTop
module JsooTopWrapped = JsooTopWrapped
module JsooTopIntf = JsooTopIntf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*)
open Js_of_ocaml
open! Js_of_ocaml_toplevel
open JsooTopWorkerIntf

type 'a result = 'a JsooTopWrapped.result Lwt.t
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*)
open! Js_of_ocaml_toplevel

type toplevel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*)

open Js_of_ocaml
open! Js_of_ocaml_toplevel
open JsooTopWorkerIntf

type 'a return =
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*)

open! Js_of_ocaml_toplevel
open Js_of_ocaml

(** Types of the messages exchanged with a toplevel in a Web Worker. *)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*)

open! Js_of_ocaml_toplevel
open Js_of_ocaml

(** Types of the messages exchanged with a toplevel in a Web Worker. *)
Expand Down

0 comments on commit 0f5567c

Please sign in to comment.