Skip to content

Commit fe78d79

Browse files
save file
1 parent 31b28aa commit fe78d79

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

html-components/list/dir-tree/dir-tree.html

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

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

18-
<base href='https://ext-code.com/html-components/list/'>
19-
<link rel=canonical href='https://ext-code.com/html-components/list/'>
18+
<base href='https://ext-code.com/html-components/list/dir-tree/'>
19+
<link rel=canonical href='https://ext-code.com/html-components/list/dir-tree/dir-tree.html'>
2020

2121
<meta name=viewport content='width=device-width, initial-scale=1'>
2222
<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='>
@@ -35,7 +35,7 @@
3535
;
3636

3737
var base = 'https://libs.ext-code.com/html/';
38-
var component = 'web-console';
38+
var component = 'dir-tree';
3939

4040
var ace;
4141
var md;
@@ -142,7 +142,7 @@
142142

143143

144144
<html-components-hdr component=grp1>
145-
<h2 class=title style='top:10px'>web-console</h2>
145+
<h2 class=title style='top:10px'>dir-tree</h2>
146146
<time slot=date datetime=2026-01-04>04 Jan 2026</time>
147147
</html-components-hdr>
148148

@@ -192,11 +192,9 @@ <h3>
192192
var files = {
193193
'source' : {
194194
'latest' : null,
195-
'v2.0' : null,
196195
},
197196
'examples' : {
198-
'web-console-v2.0-test-1.html':null,
199-
'web-console-v2.0-test-2.html':null,
197+
'dir-tree-simple.html':null,
200198
},
201199
};
202200

@@ -218,7 +216,7 @@ <h3>
218216
dirtree.display(files,{callback});
219217

220218

221-
await show.examples('web-console-v2.0-test-2.html');
219+
await show.examples('dir-tree-simple.html');
222220
$('#view').style.display = '';
223221

224222

@@ -250,9 +248,9 @@ <h3>
250248

251249
var url = base+component+'/';
252250
if(file=='latest'){
253-
url += 'web-console.html';
251+
url += `${component}.html`;
254252
}else{
255-
url += `${file}/web-console-${file}.html`;
253+
url += `${file}/${component}-${file}.html`;
256254
}
257255

258256
var {txt} = await get(url);

0 commit comments

Comments
 (0)