package js_of_ocaml-compiler
Compiler from OCaml bytecode to JavaScript
Install
Dune Dependency
Authors
Maintainers
Sources
js_of_ocaml-6.1.0.tbz
sha256=3c330cc382fde31ab77c2563fc294a17037c2c6b49cdbc4183a8072c88471527
sha512=6ffd56aa08e3642172421b7c1e1e6bfe3db4cf79aa83752c247758f4a2c04a8c7e470cd7005f9f7c894905e01c2d3c07db83a91cb2aa06e3f7c6a494a8d3553b
doc/js_of_ocaml-compiler.runtime/Jsoo_runtime/Error/index.html
Module Jsoo_runtime.Error
Source
Attach a JavasScript error to an OCaml exception. if force = false
and a JavasScript error is already attached, it will do nothing. This function is useful to store and retrieve information about JavaScript stack traces.
Attaching JavasScript errors will happen automatically when compiling with --enable with-js-error
.
Extract a JavaScript error attached to an OCaml exception, if any. This is useful to inspect an eventual stack strace, especially when sourcemap is enabled.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>