File tree Expand file tree Collapse file tree 6 files changed +702
-0
lines changed Expand file tree Collapse file tree 6 files changed +702
-0
lines changed Original file line number Diff line number Diff line change
1
+ npx esbuild src/Main.js --bundle --outfile=dist/bundle.js
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="utf-8 "/>
5
+ < title > VanJS-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 > VanJS-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 "> </ tbody >
42
+ </ table >
43
+ < span class ="preloadicon glyphicon glyphicon-remove " aria-hidden ="true "> </ span >
44
+ </ div >
45
+ </ div >
46
+ < script src ='dist/bundle.out.js '> </ script >
47
+ </ body >
48
+ </ html >
Original file line number Diff line number Diff line change
1
+ npx terser dist/bundle.js --compress --toplevel --mangle --mangle-props keep_quoted -f wrap_func_args=false -o dist/bundle.out.js
You can’t perform that action at this time.
0 commit comments