Skip to content
This repository was archived by the owner on Aug 20, 2023. It is now read-only.

Commit 0b5e21f

Browse files
committed
feat(frameworks): add vanillajs w/ createElement
1 parent 80509d0 commit 0b5e21f

File tree

4 files changed

+421
-0
lines changed

4 files changed

+421
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8"/>
5+
<title>VanillaJS-prog-"keyed"</title>
6+
<link href="/css/currentStyle.css" rel="stylesheet"/>
7+
</head>
8+
<body>
9+
<div id='main'>
10+
<div class="container">
11+
<div class="jumbotron">
12+
<div class="row">
13+
<div class="col-md-6">
14+
<h1>VanillaJS-"keyed"</h1>
15+
</div>
16+
<div class="col-md-6">
17+
<div class="row">
18+
<div class="col-sm-6 smallpad">
19+
<button type='button' class='btn btn-primary btn-block' id='run'>Create 1,000 rows</button>
20+
</div>
21+
<div class="col-sm-6 smallpad">
22+
<button type='button' class='btn btn-primary btn-block' id='runlots'>Create 10,000 rows</button>
23+
</div>
24+
<div class="col-sm-6 smallpad">
25+
<button type='button' class='btn btn-primary btn-block' id='add'>Append 1,000 rows</button>
26+
</div>
27+
<div class="col-sm-6 smallpad">
28+
<button type='button' class='btn btn-primary btn-block' id='update'>Update every 10th row</button>
29+
</div>
30+
<div class="col-sm-6 smallpad">
31+
<button type='button' class='btn btn-primary btn-block' id='clear'>Clear</button>
32+
</div>
33+
<div class="col-sm-6 smallpad">
34+
<button type='button' class='btn btn-primary btn-block' id='swaprows'>Swap Rows</button>
35+
</div>
36+
</div>
37+
</div>
38+
</div>
39+
</div>
40+
<table class="table table-hover table-striped test-data">
41+
<tbody id="tbody">
42+
</tbody>
43+
</table>
44+
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
45+
</div>
46+
</div>
47+
<script src='src/Main.js'></script>
48+
</body>
49+
</html>

frameworks/keyed/vanillajs-prog/package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "js-framework-benchmark-vanillajs-prog",
3+
"version": "1.1.1",
4+
"description": "Vanilla.JS demo",
5+
"main": "index.js",
6+
"js-framework-benchmark": {
7+
"frameworkVersion": "",
8+
"issues": [772]
9+
},
10+
"scripts": {
11+
"build-dev": "exit 0",
12+
"build-prod": "exit 0"
13+
},
14+
"keywords": [
15+
"react",
16+
"webpack"
17+
],
18+
"author": "Stefan Krause",
19+
"license": "Apache-2.0",
20+
"homepage": "https://github.com/krausest/js-framework-benchmark",
21+
"repository": {
22+
"type": "git",
23+
"url": "https://github.com/krausest/js-framework-benchmark.git"
24+
}
25+
}

0 commit comments

Comments
 (0)