Skip to content

Commit 89d61b0

Browse files
committed
promote
1 parent bcaafc4 commit 89d61b0

File tree

139 files changed

+2152
-1409
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+2152
-1409
lines changed

build/build.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ module Intern = struct
1414
let with_eliom_ppx =
1515
Some
1616
(function
17-
| `Client -> "src/ppx/ppx_eliom_client_ex." ^ best
18-
| `Server -> "src/ppx/ppx_eliom_server_ex." ^ best)
17+
| `Client -> "src/ppx/ppx_eliom_client_ex." ^ best
18+
| `Server -> "src/ppx/ppx_eliom_server_ex." ^ best)
1919

2020
let with_package = function
2121
| "eliom.ppx.type" -> "pkg_ppx_eliom_types"

build/doc.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ let ocamldoc_wiki tags deps docout docdir =
1212
Ocamlbuild_pack.Ocaml_tools.ocamldoc_l_dir tags deps docout docdir
1313

1414
let ocamldoc_man tags deps docout docdir =
15-
let tags = tags (* -- "extension:html" *) in
15+
let tags =
16+
tags
17+
(* -- "extension:html" *)
18+
in
1619
Ocamlbuild_pack.Ocaml_tools.ocamldoc_l_dir tags deps docout docdir
1720

1821
let init_wikidoc () =

pkg/topkg.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ module Pkg : Pkg = struct
256256
(list_files bdir src dst);
257257
add_mvs current mvs
258258
| {field_name = field} :: _ as mvs ->
259-
if current <> "" (* first *) then Buffer.add_string install " ]\n";
259+
if current <> ""(* first *) then Buffer.add_string install " ]\n";
260260
Buffer.add_string install (str "%s: [" field);
261261
add_mvs field mvs
262262
| [] -> ()

src/lib/client/eliommod_cookies.ml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* You should have received a copy of the GNU Lesser General Public License
1616
* along with this program; if not, write to the Free Software
1717
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18-
*)
18+
*)
1919

2020
open Js_of_ocaml
2121
open Eliom_lib
@@ -24,9 +24,9 @@ include Eliom_cookies_base
2424
(* CCC The tables are indexed by the hostname, not the port appear.
2525
there are no particular reason. If needed it is possible to add it *)
2626
let cookie_tables :
27-
(float option * string * bool) Ocsigen_cookie_map.Map_inner.t
28-
Ocsigen_cookie_map.Map_path.t
29-
Jstable.t
27+
(float option * string * bool) Ocsigen_cookie_map.Map_inner.t
28+
Ocsigen_cookie_map.Map_path.t
29+
Jstable.t
3030
=
3131
Jstable.create ()
3232

@@ -145,7 +145,7 @@ let get_table ?(in_local_storage = false) = function
145145
(fun () -> Ocsigen_cookie_map.Map_path.empty)
146146
(fun st ->
147147
Js.Opt.case
148-
st ## (getItem host)
148+
st##(getItem host)
149149
(fun () -> Ocsigen_cookie_map.Map_path.empty)
150150
(fun v ->
151151
intern_cookies (of_json ~typ:json_cookies (Js.to_string v))))
@@ -166,9 +166,8 @@ let set_table ?(in_local_storage = false) host t =
166166
Dom_html.window##.localStorage
167167
(fun () -> ())
168168
(fun st ->
169-
st
170-
## (setItem host
171-
(Js.string (to_json ~typ:json_cookies (extern_cookies t)))))
169+
st##(setItem host
170+
(Js.string (to_json ~typ:json_cookies (extern_cookies t)))))
172171
else Jstable.add cookie_tables (Js.string host) t
173172

174173
let now () =
@@ -202,9 +201,10 @@ let get_cookies_to_send ?(in_local_storage = false) host https path =
202201
let now = now () in
203202
Ocsigen_cookie_map.Map_path.fold
204203
(fun cpath t cookies_to_send ->
205-
if Url.is_prefix_skip_end_slash
206-
(Url.remove_slash_at_beginning cpath)
207-
(Url.remove_slash_at_beginning path)
204+
if
205+
Url.is_prefix_skip_end_slash
206+
(Url.remove_slash_at_beginning cpath)
207+
(Url.remove_slash_at_beginning path)
208208
then
209209
Ocsigen_cookie_map.Map_inner.fold
210210
(fun name (exp, value, secure) cookies_to_send ->

0 commit comments

Comments
 (0)