Skip to content

Commit 9562b6d

Browse files
save file
1 parent ca8b70c commit 9562b6d

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

chat/chat.html

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919

2020
<script>
2121

22+
var chat;
2223
var log;
2324

2425
function ready({mod}){
2526

26-
log = mod['log-mod'];
27+
chat = mod['chat-room-tmp'];
28+
log = mod['log-mod'];
2729

2830
initdom();
2931

@@ -102,6 +104,13 @@
102104
<body>
103105

104106

107+
108+
109+
110+
<chat-room-tmp component=grp_root server='https://ext-code.com' room=main></chat-room-tmp>
111+
112+
113+
<!--
105114
<section id=hdr>
106115
</section>
107116
@@ -150,15 +159,18 @@
150159
</div>
151160
152161
</section>
153-
154-
162+
-->
163+
164+
155165
<log-mod component></log-mod>
156166

157167
</body>
158168

159169
<script>
160170

161171

172+
173+
/*
162174
//var server = 'https://localhost:3009/chat/';
163175
var server = '';
164176
console.log('server',server);
@@ -542,18 +554,19 @@
542554
args.unshift(`[ ${did} ]`);
543555
console.log.apply(console,args);
544556
545-
/*
557+
//*
546558
var fmt = Array.from({length:args.length}).fill('%O').join(' ');
547559
var args2 = [fmt].concat(args);
548560
console.groupCollapsed.apply(console,args2);
549561
console.trace();
550562
console.groupEnd();
551-
*/
563+
*//*
552564
553565
}//debug
554566
555-
556-
567+
*/
568+
569+
557570
</script>
558571

559572
</html>

0 commit comments

Comments
 (0)