package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-2.0.0.tbz
sha256=0e213624b1626428a181fa0fbb262eadffb24431e530ad06dca885c6f0cf1e55
sha512=a7517da8aaa5c9bb8690826af3f8ca6dbbf1bccaa3f76d8c522963f0f9d46dc5e280cc4739879fdb09674f178f5664b1ba42c774b533bc51e90332d8bf6722ae
doc/melange.js_parser/Js_parser/Loc/index.html
Module Js_parser.Loc
Source
intersects loc1 loc2
returns true if loc1
intersects loc2
at all
lines_intersect loc1 loc2
returns true if loc1
and loc2
cover any part of the same line, even if they don't actually intersect.
For example, if loc1
ends and then loc2
begins later on the same line, intersects loc1 loc2
is false, but lines_intersect loc1 loc2
is true.
Produces a zero-width Loc.t, where start = end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>