Skip to content

Commit 7d84d6d

Browse files
save file
1 parent fe013d4 commit 7d84d6d

File tree

1 file changed

+36
-21
lines changed

1 file changed

+36
-21
lines changed

utils/github/search-for-a-file-across-all-github-repos/v2.0/search-for-a-file-across-all-github-repos-v2.0.html

Lines changed: 36 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,32 @@
5454
var keydown;
5555
var github;
5656

57-
57+
var menu;
58+
59+
var hdr;
60+
var log;
61+
62+
5863
//:
5964

6065

61-
mod.stack.add = init;
62-
6366
async function init(){
6467

6568

69+
menu = menumod();
70+
71+
hdr = mod['github-hdr'];
72+
log = mod['log-mod'];
73+
74+
hdr.initmod({ext,$,menu});
75+
log.initmod({ext,$});
76+
77+
await Promise.all([
78+
hdr.init(),
79+
log.init(),
80+
]);
81+
82+
6683
initdom(document.body);
6784

6885

@@ -191,25 +208,14 @@
191208

192209

193210
<body>
211+
212+
213+
<github-hdr component=grp>
214+
<img style='top:0px;height:50px' class=title src='images/github-file-search-2.png'>
215+
<time slot=date datetime=2025-10-31>31 Oct 2025</time>
216+
</github-hdr>
194217

195218

196-
<div id=hdr>
197-
198-
<div>
199-
<a href='/'>
200-
home
201-
</a>
202-
</div>
203-
204-
<div id=title>
205-
<img src='images/github-file-search-2.png'>
206-
</div>
207-
208-
<div>
209-
26 Sep 25
210-
</div>
211-
212-
</div>
213219

214220

215221
<div id=desc>
@@ -316,6 +322,9 @@
316322

317323
</div>
318324

325+
326+
<log-mod component></log-mod>
327+
319328

320329
</body>
321330

@@ -349,14 +358,16 @@
349358

350359
var root = rootnode;
351360

361+
hdr.initdom();
362+
352363
var icon;
353364

354365
ui.token = $(root,'#token');
355366
ui.token.value = token;
356367
icon = $(root,'#token-copy');
357368
$.icon.copy2(icon,ui.token);
358369
icon = $(root,'#token-paste');
359-
$.icon.paste(icon,ui.token);
370+
$.icon.paste2(icon,ui.token);
360371

361372
username = $(root,'#username');
362373
username.value = 'octocat';
@@ -398,6 +409,10 @@
398409
progress = $(root,'#progress');
399410
progress.remove();
400411

412+
413+
log.initdom();
414+
415+
401416
}//initdom
402417

403418

0 commit comments

Comments
 (0)