Skip to content

Commit 58768f7

Browse files
save file
1 parent 041dcec commit 58768f7

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

blog/25-12-03/unix-sockets/unix-sockets.html

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,30 @@
5757

5858
var hdr;
5959
var log;
60-
60+
var ex = {};
6161

6262

6363
//:
6464

6565

6666
async function init(){
6767

68-
menu = menumod();
68+
menu = menumod();
69+
70+
hdr = mod['blog-hdr'];
71+
log = mod['log-mod'];
6972

70-
hdr = mod['blog-hdr'];
71-
log = mod['log-mod'];
73+
ex['linux-server-js'] = mod['linux-server-js'];
7274

7375
hdr.initmod({ext,$});
7476
log.initmod({ext,$});
77+
ex['linux-server-js'].initmod({ext,$,menu,ace});
7578

7679

7780
await Promise.all([
7881
hdr.init(),
7982
log.init(),
83+
ex['linux-server-js'].init(),
8084
]);
8185

8286

@@ -208,11 +212,27 @@ <h1 class=title>
208212
</div>
209213

210214

215+
<web-editor id=linux-server-js src='ex/ipc-linux-server.js' fullsize component></web-editor>
211216

212217

213-
218+
<log-mod component></log-mod>
219+
214220
</body>
215221

222+
<script>
223+
224+
225+
function initdom(){
226+
227+
hdr.initdom();
228+
log.initdom();
229+
ex['linux-server-js'].initdom();
230+
231+
232+
}//initdom
233+
234+
235+
</script>
216236

217237
</html>
218238

0 commit comments

Comments
 (0)