Skip to content

Commit

Permalink
Fix import_js example
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Feb 27, 2019
1 parent 2746805 commit ccad626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/import_js/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use wasm_bindgen::prelude::*;

#[wasm_bindgen(module = "../defined-in-js")]
#[wasm_bindgen(module = "/defined-in-js.js")]
extern "C" {
fn name() -> String;

Expand Down

0 comments on commit ccad626

Please sign in to comment.