Skip to content

Commit

Permalink
Merge pull request #801 from ocsigen/wikidoc-fix-a_api
Browse files Browse the repository at this point in the history
Wikidoc fix a api
  • Loading branch information
balat authored Sep 2, 2024
2 parents c96101a + 41885d1 commit 203b075
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions doc/dev/api/client/Eliom_client_value.wiki
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<<span class="odocwiki_inlinecode"|~Printexc~.to~_string>>~.
>>

~Event handlers like <<a_api | Eliom_content.Html.F.a_onclick
>> may raise <<span class="odocwiki_inlinecode"|~False>> to cancel the event ~(as if the ~Java~Script
~Event handlers like <<a_api | val Html_sigs.T.a_onclick >> may raise <<span class="odocwiki_inlinecode"|~False>> to cancel the event ~(as if the ~Java~Script
function returned <<span class="odocwiki_inlinecode"|false>>~)~.
<<pre id="EXCEPTIONFalse" class="ocsforge_color odocwiki_code"|<<span class="ocsforge_color_keyword"|exception>> <<span class="odocwiki_name"|False>>>>
2 changes: 1 addition & 1 deletion doc/dev/manual/eliom-language.wiki
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ content has changed//. That way they may refer to the new DOM.
If a client value is created outside of the initialization of the
server program and also outside of the processing of a request, the
exception {% <<a_api subproject="server"|exception
Eliom_client_value.t_creation_invalid_context>> %} is raised.
Eliom_client_value.Client_value_creation_invalid_context>> %} is raised.

===@@id="sharedclientvalues"@@ In a shared section

Expand Down
2 changes: 1 addition & 1 deletion doc/dev/manual/server-outputs.wiki
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ using polymorphic variant types. You may use constructor functions from <<a_api
| module Eliom_content.Html.D >> or a syntax extension close to the standard HTML syntax.
;<<a_api subproject="server"| module Eliom_registration.Flow5 >>
: Registration of functions that generate a portion of page using <<a_api subproject="server" |
module Eliom_content.Html.F >> or the syntax extension (useful for {{{XMLHttpRequest}}} requests for example). Do not use with Eliom applications: you can instead use <<a_api subproject="server" | Eliom_client.server_function>> (or the {{{let%rpc}}} syntax) to call server functions that produce HTML nodes.
module Eliom_content.Html.F >> or the syntax extension (useful for {{{XMLHttpRequest}}} requests for example). Do not use with Eliom applications: you can instead use <<a_api subproject="server"| val Eliom_client.server_function >> (or the {{{let%rpc}}} syntax) to call server functions that produce HTML nodes.
;<<a_api subproject="server"| module Eliom_registration.Html_text >>
: Registration of functions that generate text HTML pages, without any validation of the content. The content type sent by the server is "{{{text/html}}}".
;<<a_api subproject="server"| module Eliom_registration.CssText >>
Expand Down

0 comments on commit 203b075

Please sign in to comment.