|
1 | 1 |
|
2 | 2 |
|
3 | | -<html> |
| 3 | +<!DOCTYPE html> |
4 | 4 |
|
5 | | - <head> |
6 | 5 |
|
7 | | - <title>file-transfer-http</title> |
| 6 | +<html lang=en> |
| 7 | + |
| 8 | + <head> |
| 9 | + <meta charset=utf-8> |
| 10 | + |
| 11 | + <title> |
| 12 | + WebRTC File Transfer HTTP |
| 13 | + </title> |
8 | 14 |
|
| 15 | + <meta name=description content=''> |
| 16 | + |
9 | 17 | <base href='https://ext-code.com/utils/webrtc/file-transfer-http/'> |
10 | | - <base href='https://javascript-2020.github.io/utils/webrtc/file-transfer-http/'> |
| 18 | + <link rel=canonical href='https://ext-code.com/utils/webrtc/file-transfer-http/file-transfer.html'> |
11 | 19 |
|
12 | 20 | <link rel=icon type='image/png' href='image/file-transfer-http-30.png'> |
| 21 | + <meta name=viewport content='width=device-width, initial-scale=1'> |
| 22 | + |
| 23 | + <script type='application/ld+json'> |
| 24 | + { |
| 25 | + "@context" : "https://schema.org", |
| 26 | + "@type" : "TechArticle", |
| 27 | + "headline" : "WebRTC File Transfer HTTP", |
| 28 | + "description" : "", |
| 29 | + "author" : {"@type":"Person","name":"Matthew Richards"}, |
| 30 | + "datePublished" : "2025-12-02", |
| 31 | + "dateModified" : "2025-12-02", |
| 32 | + "mainEntityOfPage" : {"@type":"WebPage","@id":"https://ext-code.com/utils/webrtc/file-transfer-http/file-transfer.html"}, |
| 33 | + "publisher" : {"@type":"Organization","name":"ext-code.com","logo":{"@type":"ImageObject","url":"https://ext-code.com/favicon.ico"}}, |
| 34 | + } |
| 35 | + </script> |
13 | 36 |
|
14 | 37 |
|
15 | 38 | <script src='https://libs.ext-code.com/js/dom/component/component.js'></script> |
|
39 | 62 | //: |
40 | 63 |
|
41 | 64 |
|
42 | | - mod.stack.add = init; |
43 | | - |
44 | 65 | async function init(){ |
45 | 66 |
|
46 | 67 |
|
47 | 68 | //keydown = keydown(); |
48 | 69 | menu = menumod(); |
49 | 70 |
|
50 | | - filemod = mod.filemod; |
51 | | - log = mod.log; |
52 | | - |
53 | | - filemod.initmod({ext,$,menu,menumod,complete}); |
| 71 | + filemod = mod['file-mod']; |
| 72 | + log = mod['log-mod']; |
54 | 73 |
|
55 | 74 |
|
| 75 | + filemod.initmod({ext,$,menu,menumod,complete}); |
56 | 76 | log.initmod({ext,$}); |
57 | 77 |
|
58 | | - |
59 | | - |
60 | | - await filemod.init(); |
61 | | - |
62 | | - |
63 | | - await log.init(); |
| 78 | + |
| 79 | + await Promise.all([ |
| 80 | + filemod.init(), |
| 81 | + log.init(), |
| 82 | + ]); |
64 | 83 |
|
65 | 84 |
|
66 | 85 | //: |
|
228 | 247 | </div> |
229 | 248 |
|
230 | 249 |
|
231 | | - <filemod component v2.0></filemod> |
| 250 | + <file-mod component></file-mod> |
232 | 251 |
|
233 | 252 |
|
234 | 253 | <div id=message> |
|
281 | 300 |
|
282 | 301 |
|
283 | 302 |
|
284 | | - <log component v2.0></log> |
| 303 | + <log-mod component></log-mod> |
285 | 304 |
|
286 | 305 |
|
287 | 306 |
|
|
0 commit comments