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