Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonn_k committed Apr 27, 2017
1 parent ffef0ec commit fcf5845
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
*.cmx
*.cmxs
*.cmxa
*.type_mli
.depend
utodo.js

# ocamlbuild working directory
_build/
Expand Down
18 changes: 9 additions & 9 deletions src/services.eliom
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module Utodo_app =
Eliom_registration.App (
struct
let application_name = "utodo"
let global_data_path = None
module Utodo_app =
Eliom_registration.App (
struct
let application_name = "utodo"
let global_data_path = None
end)

let main_service =
Eliom_service.create
~path:(Eliom_service.Path [])
~meth:(Eliom_service.Get Eliom_parameter.unit)
let main_service =
Eliom_service.create
~path:(Eliom_service.Path [])
~meth:(Eliom_service.Get Eliom_parameter.unit)
()

let list_service =
Expand Down
2 changes: 1 addition & 1 deletion src/tools.eliom
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
open Services
open%shared Ulist_t

let rec buildDirectoryListing d res =
let rec buildDirectoryListing d res =
Lwt.catch (fun () ->
let%lwt cur = Lwt_unix.readdir d in
if cur <> "." && cur <> ".."
Expand Down
4 changes: 3 additions & 1 deletion src/ulist.eliom
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ open%shared Ulist_btn
{uuid = (Uuidm.to_string (Uuidm.v `V4));
subList = false;
label = "";
status = false})
status = false
}
)
(snd ~%rtasks)
)
] in
Expand Down

0 comments on commit fcf5845

Please sign in to comment.