bl-frontend-rs/dist/snippets/stdweb-bb142200b065bd55/inline628.js

1 line
467 B
JavaScript

export function __cargo_web_snippet_fd1ed016b7cb3f2b97b4a0af30b72d91cdcd4e14(Module, $0, $1) { $1 = Module.STDWEB_PRIVATE.to_js($1);Module.STDWEB_PRIVATE.from_js($0, (function(){try{return{value:function(){let form=($1);if(!(form instanceof HTMLFormElement)){throw new TypeError("Argument 1 of FormData::from_element does not implement interface HTMLFormElement.");}return new FormData(form);}(),success:true};}catch(error){return{error:error,success:false};}})()); }