@@ -179,7 +179,7 @@ let a_handler =
179179 Dom_html. full_handler (fun node ev ->
180180 let node =
181181 Js.Opt. get (Dom_html.CoerceTo. a node) (fun () ->
182- raise_error_f ~section " not an anchor element" )
182+ raise_error ~section " not an anchor element" )
183183 in
184184 (* We prevent default behaviour
185185 only if raw_a_handler has taken the change page itself *)
@@ -196,7 +196,7 @@ let form_handler :
196196 Dom_html. full_handler (fun node ev ->
197197 let form =
198198 Js.Opt. get (Dom_html.CoerceTo. form node) (fun () ->
199- raise_error_f ~section " not a form element" )
199+ raise_error ~section " not a form element" )
200200 in
201201 let kind =
202202 if String. lowercase_ascii (Js. to_string form##._method) = " get"
@@ -213,7 +213,7 @@ let relink_process_node (node : Dom_html.element Js.t) =
213213 let id =
214214 Js.Opt. get
215215 node ## (getAttribute (Js. string Eliom_runtime.RawXML. node_id_attrib))
216- (fun () -> raise_error_f ~section " unique node without id attribute" )
216+ (fun () -> raise_error ~section " unique node without id attribute" )
217217 in
218218 Js.Optdef. case
219219 (Eliom_client_core. find_process_node id)
@@ -240,7 +240,7 @@ let relink_request_node (node : Dom_html.element Js.t) =
240240 let id =
241241 Js.Opt. get
242242 node ## (getAttribute (Js. string Eliom_runtime.RawXML. node_id_attrib))
243- (fun () -> raise_error_f ~section " unique node without id attribute" )
243+ (fun () -> raise_error ~section " unique node without id attribute" )
244244 in
245245 Js.Optdef. case
246246 (Eliom_client_core. find_request_node id)
@@ -373,7 +373,7 @@ let relink_attrib _root table (node : Dom_html.element Js.t) =
373373 in
374374 Eliom_client_core. rebuild_rattrib node rattrib
375375 with Not_found ->
376- raise_error_f ~section " relink_attrib: client value %s not found" cid
376+ raise_error ~section " relink_attrib: client value %s not found" cid
377377 in
378378 Eliommod_dom. iter_attrList node##.attributes aux
379379
@@ -398,10 +398,10 @@ let load_data_script page =
398398 match Js. to_bytestring data_script##.tagName##toLowerCase with
399399 | "script" -> Js.Unsafe. coerce data_script
400400 | t ->
401- raise_error_f ~section
401+ raise_error ~section
402402 " Unable to find Eliom application data (script element expected, found %s element)"
403403 t)
404- | _ -> raise_error_f ~section " Unable to find Eliom application data."
404+ | _ -> raise_error ~section " Unable to find Eliom application data."
405405 in
406406 let script = data_script##.text in
407407 if ! Eliom_config. debug_timings
@@ -822,7 +822,7 @@ let get_state state_id : state =
822822 (* We use this only when the history API is
823823 available. Sessionstorage seems to be available
824824 everywhere the history API exists. *)
825- raise_error_f ~section " sessionStorage not available" )
825+ raise_error ~section " sessionStorage not available" )
826826 (fun s -> s ## (getItem (state_key state_id))))
827827 (fun () -> raise Not_found )
828828 (fun s -> of_json ~typ: [% json: state] (Js. to_string s))
0 commit comments