Skip to content

Commit 979e517

Browse files
save file
1 parent bab4247 commit 979e517

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

utils/editors/js-console/html/output-console/test/output-console-v2.0-test.html

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,34 @@
1616
<script init>
1717
console.clear();
1818

19+
var ext,$,datatype,menumod,keydown;
20+
21+
22+
var output;
23+
1924

20-
function init(){
25+
function init(){
2126
console.log('init');
2227

23-
//keydown.add(kd);
24-
25-
menumod = menumod();
26-
menumod.add.style();
27-
menumod.on.close = ()=>editor.focus();
28+
//keydown.add(kd);
29+
30+
output = mod['output-console'];
31+
32+
output.initmod({ext,$});
33+
34+
35+
await Promise.all([
36+
output.init(),
37+
]);
38+
39+
40+
initdom();
2841

29-
30-
initdom();
42+
test();
43+
3144

45+
}//init
3246

33-
}//init
3447

3548
(async()=>{
3649

@@ -67,7 +80,7 @@
6780

6881
<body>
6982

70-
<output-console component=page></output-console>
83+
<output-console component=page v2.0></output-console>
7184

7285
</body>
7386

0 commit comments

Comments
 (0)