Skip to content

Commit 163ee40

Browse files
committed
Update kobold to 0.7.1
1 parent b15f4e9 commit 163ee40

File tree

9 files changed

+11
-18
lines changed

9 files changed

+11
-18
lines changed

frameworks/non-keyed/kobold/Cargo.toml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,16 @@
11
[package]
2-
name = "js-framework-benchmark-kobold"
2+
name = "kobold_benchmark"
33
version = "0.1.0"
44
edition = "2021"
55

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

99
[dependencies]
10-
kobold = "0.7.0"
10+
kobold = "0.7.1"
1111
wasm-bindgen = "0.2.84"
1212
js-sys = "0.3.61"
1313

14-
[dependencies.web-sys]
15-
version = "0.3"
16-
features = [
17-
"Document",
18-
"HtmlInputElement",
19-
]
20-
2114
[profile.release]
2215
opt-level = 3
2316
lto = true

frameworks/non-keyed/kobold/bundled-dist/js-framework-benchmark-kobold.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function __e0_c1b0d2ff99009289(a,b,c,d,e,f,g) {
1+
export function __e0_f543312a9dbfd6ab(a,b,c,d,e,f,g) {
22
let e0=document.createElement("div");
33
e0.className="container";
44
let e1=document.createElement("div");
@@ -25,7 +25,7 @@ e8.append(g);
2525
e7.append(e8);
2626
let e9=document.createElement("span");
2727
e9.className="preloadicon glyphicon glyphicon-remove";
28-
e9.setAttribute("aria_hidden","true");
28+
e9.setAttribute("aria-hidden","true");
2929
e0.append(e1,e7,e9);
3030
return e0;
3131
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function __e0_10f4d4d44b3ea73f(a,b,c,d,e) {
1+
export function __e0_7e970beef19ed0b9(a,b,c,d,e) {
22
let e0=document.createElement("tr");
33
e0.className=a;
44
let e1=document.createElement("td");
@@ -16,7 +16,7 @@ let e5=document.createElement("a");
1616
e5.addEventListener("click",e);
1717
let e6=document.createElement("span");
1818
e6.className="glyphicon glyphicon-remove";
19-
e6.setAttribute("aria_hidden","true");
19+
e6.setAttribute("aria-hidden","true");
2020
e5.append(e6);
2121
e4.append(e5);
2222
let e7=document.createElement("td");

frameworks/non-keyed/kobold/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "js-framework-benchmark-keyed-kobold",
2+
"name": "js-framework-benchmark-nonkeyed-kobold",
33
"version": "1.0.0",
44
"description": "Benchmark for Kobold",
55
"license": "MPL-2.0",
66
"js-framework-benchmark": {
7-
"frameworkVersion": "0.7.0",
7+
"frameworkVersion": "0.7.1",
88
"frameworkHomeURL": "https://github.com/maciejhirsz/kobold",
99
"issues": [
1010
1139

frameworks/non-keyed/kobold/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fn Row(num: usize, row: RowData, state: &Hook<State>) -> impl View {
136136
<tr.{is_in_danger}>
137137
<td class="col-md-1">{row.id.to_string()}</td>
138138
<td class="col-md-4"><a onclick={select}>{row.label}</a></td>
139-
<td class="col-md-1"><a onclick={remove}><span class="glyphicon glyphicon-remove" aria_hidden="true"></span></a></td>
139+
<td class="col-md-1"><a onclick={remove}><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></td>
140140
<td class="col-md-6"/>
141141
</tr>
142142
}
@@ -212,7 +212,7 @@ fn App() -> impl View {
212212
{ for state.rows.iter().enumerate().map(|(i,l)| view! { <Row {state} num={i} row={l.to_owned()} />}) }
213213
</tbody>
214214
</table>
215-
<span class="preloadicon glyphicon glyphicon-remove" aria_hidden="true" />
215+
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true" />
216216
</div>
217217
}
218218
})

0 commit comments

Comments
 (0)