Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitab30717

Browse files
inject_blob args issue
1 parent41d1134 commitab30717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/wasm.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ pub fn load_components(flow_ux_path:&str)->Result<()>{
1818
Ok(())
1919
}
2020

21-
pubfnload_component(flow_ux_path:&str,name:&str,cmp:&str)->Result<()>{
21+
pubfnload_component(flow_ux_path:&str,_name:&str,cmp:&str)->Result<()>{
2222
let loc =location();
2323
let origin = loc.origin()?;
2424
let js = cmp.replace("[FLOW-UX-PATH]", flow_ux_path)
2525
.replace("[HOST-ORIGIN]",&origin);
26-
inject_blob(name,Content::Module(js.as_bytes()))?;
26+
inject_blob(Content::Module(js.as_bytes()))?;
2727
Ok(())
2828
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp