Created
September 18, 2013 10:12
-
-
Save pveber/6607134 to your computer and use it in GitHub Desktop.
A web site illustrating a bug on entity for client-side/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{shared{ | |
open Eliom_lib | |
open Eliom_content | |
}} | |
module Bug_entity_app = | |
Eliom_registration.App ( | |
struct | |
let application_name = "bug_entity" | |
end) | |
let main_service = | |
Eliom_service.service ~path:[] ~get_params:Eliom_parameter.unit () | |
let () = | |
Bug_entity_app.register | |
~service:main_service | |
(fun () () -> | |
let d = Eliom_content.Html5.D.div [] in | |
ignore {unit{ | |
Eliom_content.Html5.Manip.appendChild %d (Eliom_content.Html5.F.entity "#947") | |
}} ; | |
Lwt.return | |
(Eliom_tools.F.html | |
~title:"bug_entity" | |
~css:[["css";"bug_entity.css"]] | |
Html5.F.(body [ | |
h2 [pcdata "Welcome from Eliom's destillery!"]; | |
entity "#946" ; | |
d | |
]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment