package eliom
Advanced client/server Web and mobile framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
11.1.0.tar.gz
md5=a1fe1f37d5163c25818afcc5ca8d6ecf
sha512=4ac91ff05bb43eea5d5e1e046bc54a0c97707db28be3c2f65437fbb1b3457171f715105f7f0621837494c014dc05473f26bc919483b0e47d394a2bbe19b319a7
doc/eliom.ocamlbuild/Ocamlbuild_eliom/Make/index.html
Module Ocamlbuild_eliom.Make
Source
Parameters
Signature
Source
val dispatcher :
?oasis_executables:Ocamlbuild_plugin.Pathname.t list ->
Ocamlbuild_plugin.hook ->
unit
The main dispatcher
It calls Ocamlbuild_js_of_ocaml.dispatcher
first, with the same parameters, and then initialize the plugin for eliom.
The dispatcher should be used with Ocamlbuild_plugin.dispatch
as: Ocamlbuild_plugin.dispatch Ocamlbuild_eliom.dispatcher
or if you use oasis it would look like: Ocamlbuild_plugin.dispatch (fun hook -> dispatch_default hook; Ocamlbuild_js_of_ocaml.dispatcher ~oasis_executables:["src/yourprogram.byte"] hook; )
?oasis_executables
is the paths of the executables (having the .byte extension) you want to compile as a javascript executable. The former executables are still compiled.
Side note: Ocamlbuild_plugin.dispatch
should be used only once as it record only one function for an ocamlbuild module.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page