Skip to content

Commit 2015afb

Browse files
committed
Update example to recent deps
1 parent 308be5c commit 2015afb

File tree

9 files changed

+3959
-989
lines changed

9 files changed

+3959
-989
lines changed

example/Cargo.lock

Lines changed: 150 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/Cargo.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
authors = ["Ian J Sikes <[email protected]>"]
3-
name = "rust-wasm-loader-example"
4-
version = "0.1.0"
3+
name = "rustexample"
4+
version = "0.2.0"
5+
6+
[lib]
7+
crate-type = ["cdylib"]
58

69
[dependencies]
7-
webplatform = "0.4.2"
10+
"stdweb" = "0.4.6"

example/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<base href="build/">
45
<title>Hello World</title>
56
</head>
67
<body>
78
<div id="container"></div>
8-
<script src="build/bundle.js"></script>
9+
<script src="bundle.js"></script>
910
</body>
1011
</html>

0 commit comments

Comments
 (0)