Skip to content

Commit 85ab517

Browse files
save file
1 parent 6cf32c8 commit 85ab517

File tree

1 file changed

+33
-40
lines changed

1 file changed

+33
-40
lines changed

html-components/list/web-console/web-console.html

Lines changed: 33 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,43 @@
1010
<meta charset=utf-8>
1111

1212
<title>
13-
html component : web-console
13+
web-console
1414
</title>
1515

1616
<meta name=description content=''>
1717

18-
<base href='https://ext-code.com/html-components/list/web-console/'>
18+
<base href='https://ext-code.com/html-components/list/web-console/web-console.html'>
1919
<link rel=canonical href='https://ext-code.com/html-components/list/web-console/web-console.html'>
2020

2121
<meta name=viewport content='width=device-width, initial-scale=1'>
22-
<link rel=icon href=''>
22+
<link rel=icon href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAAAaVBMVEVHcExfpvhYpPxapPtZo/lZpfxYpPtZpfxjp/Rxsv1ZpPpZpPtZpPpZpfxbpPheqPxcpvxorf1jqvxoputao/lbpPhmrP1ZpPtYo/tZo/hZpPtZpPqcyf+Rw/6Xxv+KwP6EvP53tf19uf1CLkbiAAAAHHRSTlMADp1YNLp7swf+YpU/wizc0vrpAiIX84VvHKlK4cmJ4wAAAVdJREFUKM+1ktmShCAMRVU2ARFxb5tF/f+PHIK92j1vM6myKuQYkns1y/4i8mEof6dlobX4hWHc09GtzfVSDZ/0qlvNg/Wr0SO7nOmlWb2zEN55Lj+WUsFat3O+ems3+g2HViLBuLfbdKaz8X5EkMnNBl2961tMsOuSanXr7N6iHOL+klqt3Y8r8yZuwRtGCCPyxgl3di0ODdrZYGgdA5H8wLXk1rUVpBQykeqY5Q/dcXgjajyNcfRNN2Z9P3TJbhKnB96OWzSHzzesCSGyThOjodEyeOxWpJZsEHioKcGxW4zc7LEzbCNv8KtoCit3SFwX40NLq7l+8wSRu3fEGLC7r/p07mDxYXl8gZ7RWBGKKXEcJ0GJzB8XFdH2SuESK/AAN5Ocri/2A5Yga5ZJ9+nPi7hk0FgBebr2xN2S8NJ9wxIhBZtShRCi5IRREQO2FpAUc5n9e/wA3jcXGxBAlmMAAAAASUVORK5CYII='>
2323

2424

2525
<script src='https://ajaxorg.github.io/ace-builds/src-noconflict/ace.js'></script>
2626
<script src='https://cdn.jsdelivr.net/npm/markdown-it/dist/markdown-it.min.js'></script>
2727
<link rel=stylesheet href='/css/github-markdown-light.css'>
2828

29-
/*
30-
<link rel=stylesheet href='https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css'>
31-
<link rel=stylesheet href='https://cdn.jsdelivr.net/npm/wunderbaum@0/dist/wunderbaum.min.css'>
32-
<script src='https://cdn.jsdelivr.net/npm/wunderbaum@0/dist/wunderbaum.umd.min.js'></script>
33-
*/
34-
35-
29+
3630
<script src='https://libs.ext-code.com/js/dom/component/v3.0/component.js?hdr'></script>
3731

3832
<script>
3933

34+
35+
var component = 'web-console';
36+
var date = '2026-02-10';
37+
var files = {
38+
'source' : {
39+
'latest' : null,
40+
'v2.0' : null,
41+
},
42+
'examples' : {
43+
'web-console-v2.0-test-1.html':null,
44+
'web-console-v2.0-test-2.html':null,
45+
},
46+
};
47+
48+
49+
4050
var df=true,did='html'
4151
;
4252

@@ -51,17 +61,24 @@
5161
async function init(){
5262
console.log('init');
5363

54-
md = markdownit();
64+
md = markdownit({
65+
html : true,
66+
breaks : false,
67+
linkify : true,
68+
linkTarget : '_blank',
69+
});
5570

56-
await load();
5771

5872
dirtree = mod['dir-tree'];
5973
snippet = mod['snippet-html-console'];
6074
editor = mod['web-editor'];
6175
log = mod['log-mod'];
6276

6377

64-
await mod.auto();
78+
await Promise.all([
79+
load(),
80+
mod.auto(),
81+
]);
6582

6683

6784
initdom();
@@ -200,22 +217,13 @@ <h3>
200217
var html = md.render(md_txt);
201218
$('#readme').innerHTML = html;
202219

220+
var keys = Object.keys(files.examples);
221+
var initial = keys[0];
203222

204-
var node = $('#demo-tree');
205-
206-
/*
207-
var tree = new mar10.Wunderbaum({
208-
element:node,
209-
source: files,
210-
init:e=>{e.tree.setFocus()},
211-
activate:show
212-
});
213-
*/
214223
files = dirtree.build(files);
215224
dirtree.display(files,{callback});
216225

217-
218-
await show.examples('web-console-v2.0-test-2.html');
226+
await show.examples(initial);
219227
$('#view').style.display = '';
220228

221229
}//initdom
@@ -309,21 +317,6 @@ <h3>
309317
}//get
310318

311319

312-
313-
314-
var files = {
315-
'source' : {
316-
'latest' : null,
317-
'v2.0' : null,
318-
},
319-
'examples' : {
320-
'web-console-v2.0-test-1.html':null,
321-
'web-console-v2.0-test-2.html':null,
322-
},
323-
};
324-
325-
326-
327320
</script>
328321

329322
</html>

0 commit comments

Comments
 (0)