package melange
Toolchain to produce JS from Reason/OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
melange-5.1.0-53.tbz
sha256=f7aac30f3ba5feff8373e2164cdb5b38a59457cadfec74b564c2b62d035ca4a9
sha512=39a0b7430035b5355bad4f42fb07d719da56e457d78399fc34c38e5eeb6e5e5259f06a1209dc00325818e3dc1dd9a5988f6a25c106d2ee0ee2033ab9074791cd
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)"
>