package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-5.0.0-52.tbz
sha256=0f28c188cbe7087b9f15ea64f311cc326554fa3ff2102bd5ecccb859e016e164
sha512=9a1f163a31c5715f213240b21f904c7fcee521e8739a612645389a6aefc872f527c2498fc90a4b234dee38cc0cf09fc723a340690b0ae44de8a22d9bc51fee42
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)"
>