Skip to content

Commit 5355fdc

Browse files
committed
doohtml-lite-v0.96.2-march-30-2025
1 parent 395653d commit 5355fdc

File tree

9 files changed

+218
-248
lines changed

9 files changed

+218
-248
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>DooHTML - Lite</title>
7+
<link rel="shortcut icon" type="image/png" href="./favicon.png" />
8+
<link href="dist/css/currentStyle.css" rel="preload" as="style"/>
9+
<link href="dist/css/currentStyle.css" rel="stylesheet"/>
10+
<script type="module" src="./src/main.js" defer ></script>
11+
<template id="table">
12+
<table class="table table-hover table-striped test-data">
13+
<tbody id="tbody"><tr bind="rows"><td class="col-md-1">{{id}}</td><td class="col-md-4"><a>{{label}}</a></td><td class="col-md-1"><a class="remove"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></td><td class="col-md-6"></td></tr></tbody>
14+
</table>
15+
</template>
16+
</head>
17+
<body>
18+
<div id="main">
19+
<div class="container">
20+
<div class="jumbotron">
21+
<div class="row">
22+
<div class="col-md-6">
23+
<h1>DooHTML</h1><span class="ver"></span><span class="ver2"></span>
24+
</div>
25+
<div class="col-md-6">
26+
<div class="row">
27+
<div class="col-sm-6 smallpad">
28+
<button type="button" class="btn btn-primary btn-block" id="run">Create 1,000 rows</button>
29+
</div>
30+
<div class="col-sm-6 smallpad">
31+
<button type="button" class="btn btn-primary btn-block" id="runlots">Create 10,000 rows</button>
32+
</div>
33+
<div class="col-sm-6 smallpad">
34+
<button type="button" class="btn btn-primary btn-block" id="add">Append 1,000 rows</button>
35+
</div>
36+
<div class="col-sm-6 smallpad">
37+
<button type="button" class="btn btn-primary btn-block" id="update">Update every 10th row</button>
38+
</div>
39+
<div class="col-sm-6 smallpad">
40+
<button type="button" class="btn btn-primary btn-block" id="clear">Clear</button>
41+
</div>
42+
<div class="col-sm-6 smallpad">
43+
<button type="button" class="btn btn-primary btn-block" id="swaprows">Swap Rows</button>
44+
</div>
45+
</div>
46+
</div>
47+
</div>
48+
</div>
49+
<doo-table
50+
context="document"
51+
bind="data"
52+
data-key="key"
53+
data-has-html="false"
54+
template="#table"
55+
></doo-table>
56+
</div>
57+
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
58+
</div>
59+
</body>
60+
</html>

frameworks/keyed/doohtml-lite/index.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,19 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>DooHTML</title>
6+
<title>DooHTML - Lite</title>
77
<link rel="shortcut icon" type="image/png" href="./favicon.png" />
88
<link href="/css/currentStyle.css" rel="preload" as="style"/>
99
<link href="/css/currentStyle.css" rel="stylesheet"/>
10-
<script type="module" src="./js/doo.html.fn.min.js" defer ></script>
1110
<script type="module" src="./src/main.js" defer ></script>
1211
<template id="table">
13-
<table class="table table-hover table-striped test-data">
14-
<tbody id="tbody"><tr bind="rows"><td class="col-md-1">{{id}}</td><td class="col-md-4"><a>{{label}}</a></td><td class="col-md-1"><a class="remove"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></td><td class="col-md-6"></td></tr></tbody>
15-
</table>
12+
<table class="table table-hover table-striped test-data">
13+
<tbody id="tbody"><tr bind="rows"><td class="col-md-1">{{id}}</td><td class="col-md-4"><a>{{label}}</a></td><td class="col-md-1"><a class="remove"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a></td><td class="col-md-6"></td></tr></tbody>
14+
</table>
1615
</template>
1716
</head>
1817
<body>
1918
<div id="main">
20-
2119
<div class="container">
2220
<div class="jumbotron">
2321
<div class="row">
@@ -48,12 +46,12 @@ <h1>DooHTML - Lite</h1><span class="ver"></span>
4846
</div>
4947
</div>
5048
</div>
51-
<doo-main
49+
<doo-table
5250
bind="data"
5351
data-key="key"
5452
data-has-html="false"
5553
template="#table"
56-
></doo-main>
54+
></doo-table>
5755
</div>
5856
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
5957
</div>

frameworks/keyed/doohtml-lite/js/doo.html.fn.min.js

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

frameworks/keyed/doohtml-lite/lib/doohtml.lite.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frameworks/keyed/doohtml-lite/package-lock.json

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

frameworks/keyed/doohtml-lite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-framework-benchmark-doohtml",
3-
"version": "0.96.1",
3+
"version": "0.96.2",
44
"description": "DooHTML-lite JS-Benchmark",
55
"main": "main.js",
66
"js-framework-benchmark": {

frameworks/keyed/doohtml-lite/src/DooConfig.js

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

0 commit comments

Comments
 (0)