File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 47
47
` ` `
48
48
49
49
* < input type=" checkbox" /> If the new API is ** not** showing up in the docs,
50
- rebuild the ` web-sys` crate [with logging enabled](/ web-sys/logging.html)
50
+ rebuild the ` web-sys` crate [with logging enabled](web-sys/logging.html)
51
51
and look for warning messages that mention your new API. Figure out why
52
52
bindings weren' t generated and then add support to `wasm_bindgen_webidl` for
53
53
whatever is needed to generate your API' s bindings.
54
-
55
- > You might find it helpful to view the generated rust bindings, to see if
56
- they are what you would expect. The file will be located at
54
+
55
+ > You might find it helpful to view the generated rust bindings, to see if
56
+ they are what you would expect. The file will be located at
57
57
` target/wasm32-unknown-unknown/debug/build/web-sys-xxx/out/bindings.rs` ,
58
58
where ` xxx` is a combinations of numbers and letters that represents your
59
59
build. This file is pretty unintelligable until you run ` rustfmt` on it, like
60
60
` rustfmt target/wasm32-unknown-unknown/debug/build/web-sys-xxx/out/bindings.rs` .
61
61
62
62
4. < input type=" checkbox" /> Add a simple test for your new API to
63
63
` crates/web-sys/tests/all/` . See the [` web-sys` testing
64
- documentation](/ web-sys/testing.html) for details.
64
+ documentation](web-sys/testing.html) for details.
65
65
66
66
5. < input type=" checkbox" /> Send a pull request! 😊
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ cargo test
10
10
11
11
These tests all use a headless Firefox browser. See the [ * Headless Browser
12
12
Tests* section for details on setup and
13
- configuration.] ( ../ contributing.html#headless-browser-tests)
13
+ configuration.] ( contributing.html#headless-browser-tests )
14
14
15
15
## Grouping Tests
16
16
You can’t perform that action at this time.
0 commit comments