Skip to content

Commit dd0514a

Browse files
committed
Update maple to sycamore v0.5.0
1 parent b379d7f commit dd0514a

File tree

10 files changed

+324
-611
lines changed

10 files changed

+324
-611
lines changed

frameworks/keyed/maple/bundled-dist/js-framework-benchmark-maple.js

Lines changed: 0 additions & 452 deletions
This file was deleted.
Binary file not shown.

frameworks/keyed/maple/package-lock.json

Lines changed: 0 additions & 138 deletions
This file was deleted.

frameworks/keyed/maple/Cargo.toml renamed to frameworks/keyed/sycamore/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
[package]
22
authors = ["Luke Chu"]
33
edition = "2018"
4-
name = "js-framework-benchmark-maple"
4+
name = "js-framework-benchmark-sycamore"
55
version = "1.0.0"
66

77
[lib]
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
maple-core = "0.4.3"
12-
rand = {version = "0.7.3", features = ["wasm-bindgen", "small_rng"]}
13-
wasm-bindgen = "0.2.73"
14-
web-sys = {version = "0.3.50", features = ["Window", "Document"]}
11+
getrandom = {version = "0.2", features = ["js"]}
12+
rand = {version = "0.8", features = ["small_rng"]}
13+
sycamore = "0.5"
14+
wasm-bindgen = "0.2.74"
15+
web-sys = {version = "0.3.51", features = ["Window", "Document"]}
1516

1617
[profile.release]
1718
codegen-units = 1
File renamed without changes.

frameworks/keyed/maple/index.html renamed to frameworks/keyed/sycamore/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
<head>
44
<meta charset="UTF-8">
55
<title>Maple</title>
6-
<link href="/css/currentStyle.css" rel="stylesheet"/>
76
<base href="bundled-dist/"></base>
7+
<link href="/css/currentStyle.css" rel="stylesheet"/>
8+
<link rel="preload" href="./js-framework-benchmark-sycamore.js" />
9+
<link rel="preload" href="./js-framework-benchmark-sycamore_bg.wasm" />
810
</head>
911
<body>
1012
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
1113
<div id='main'></div>
1214
<script type="module">
13-
import init from './js-framework-benchmark-maple.js';
14-
init('./js-framework-benchmark-maple_bg.wasm');
15+
import init from './js-framework-benchmark-sycamore.js';
16+
init('./js-framework-benchmark-sycamore_bg.wasm');
1517
</script>
1618
</body>
1719
</html>

0 commit comments

Comments
 (0)