package savvy
A straightforward OAuth2 client
Install
Dune Dependency
Authors
Maintainers
Sources
savvy-0.4.0.tbz
sha256=a9e2b62cbf273c881d47d86db243706e41dcf52ce3107288b7edcf61cc53bb10
sha512=2903142b0f64d06c02ab91e3a3545d8e38f0bef34a57e7aa8d97d06f11f12daee43825a4c91afa39f5c6542b61e8bb3a57b1076358031ae74b5d6d0e5944cecd
doc/src/savvy.json_uri/json_uri.ml.html
Source file json_uri.ml
1 2 3 4 5 6 7 8 9 10 11 12 13
module T = struct type t = Uri.t let to_yojson uri = `String (Uri.to_string uri) let of_yojson = function | `String s -> Ok (Uri.of_string s) | _ -> Error "expected string for Uri.t" end (* This is a fancy way of wrapping our new methods (above) into the Uri module *) (* Essentially what's happening here is the Uri module is brought into context *) (* and then our struct above is added to context on top of it and the total is returned *) include Uri include T
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>