Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] runtime, funaction: Serialized funaction call need the event co…

…nversion
  • Loading branch information...
commit a4f0864dd8fe41a419e84719111caaeea69dd7e5 1 parent 434c057
@BourgerieQuentin BourgerieQuentin authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  stdlib/core/funaction/funaction.opa
View
3  stdlib/core/funaction/funaction.opa
@@ -74,8 +74,9 @@ FunAction = {{
@private
sendFA(v)=
sendFA_RTSTRING = @js_ident("callFA")
+ de2oe_RTSTRING = @js_ident("dom_event_to_opa_event")
v_str = String.escape_non_utf8_special(OpaSerialize.serialize(v))
- "{sendFA_RTSTRING}(\"{v_str}\", event);"
+ "{sendFA_RTSTRING}(\"{v_str}\", {de2oe_RTSTRING}(event));"
serialize(f:FunAction.t) =
json = OpaSerialize.partial_serialize(f, @typeof(f))

0 comments on commit a4f0864

Please sign in to comment.
Something went wrong with that request. Please try again.