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