package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-5.0.1-53.tbz
sha256=abb26e01e5439cb0c7c41f62411441816af7c7c18a9e0800063c3d4df4da8fec
sha512=9d6f7d80f48fe773f6a427d199c1fc5ea095231fc09a4b7a35d4604abcacd5e11dfdd68d017862eb783882b887e536a06c8b9ead22e8ee7ffe23c1d164cee31a
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)"
>