Skip to content

Commit

Permalink
feat: remove to blob in example
Browse files Browse the repository at this point in the history
  • Loading branch information
LeuisKen committed Jan 17, 2025
1 parent e0f595f commit 0e1f2d4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions webf/example/rust_builder/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ pub extern "C" fn init_webf_app(handle: RustValue<ExecutingContextRustMethods>)
println!("Async Storage Get Item Failed: {:?}", err);
}
}

let html_element = context.document().document_element();
let blob = html_element.to_blob(&exception_state).await.unwrap().unwrap();

let mut file = File::create("output.png").unwrap();
file.write_all(&blob).unwrap();
});

let runtime_run_task_callback = Box::new(move || {
Expand Down

0 comments on commit 0e1f2d4

Please sign in to comment.