package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-3.0.0-51.tbz
sha256=1ebcf29c95ccea9f40e1f39192ae5a37fba9c64768f9ff8f998ff011415fe947
sha512=97da717b0446a7527b43c785676933a1e6974d2cf747ace68e6de5c120d03dc196ae706fef20e4139c6090036d10c350fc9b6bd093bd8a7092d0275ae56f3777
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)"
>