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/src/melange.js_parser/parse_error_utils.ml.html
Source file parse_error_utils.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14
(* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) let camelize str = match String.split_on_char '-' str with | [] -> str | [str] -> str | hd :: rest -> let parts = hd :: List.map String.capitalize_ascii rest in String.concat "" parts
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>