Skip to content

Commit e395100

Browse files
save file
1 parent 46c2e4f commit e395100

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

html/chat-room/html/chat-room-display/chat-room-display.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,7 @@
108108
obj.init = async function(){
109109
debug=eval(debug.mod);
110110
debug('init');
111-
obj.list = display.list;
112-
obj.result = display.result;
113-
obj.node = display.node;
114-
111+
115112
}//init
116113

117114

@@ -132,6 +129,8 @@
132129
//:
133130

134131

132+
obj.node = function(){return display.node.apply(null,arguments)}
133+
135134
display.node = function({msg_id}){
136135

137136
var nmsg = msg.cloneNode(true);
@@ -156,6 +155,8 @@
156155
}//node
157156

158157

158+
obj.result = function(){return display.result.apply(null,arguments)}
159+
159160
display.result = function({list}){
160161

161162
display.list(list)
@@ -167,6 +168,8 @@
167168
}//result
168169

169170

171+
obj.list = function(){return display.list.apply(null,arguments)}
172+
170173
display.list = function(list){
171174
console.json(list);
172175
list.forEach(item=>{

0 commit comments

Comments
 (0)