mirror of
https://api.glitch.com/git/yaswvc
synced 2026-01-12 05:08:11 +00:00
🎯👞 Checkpoint
./public/main.js:5975361/95
This commit is contained in:
parent
9daa3a4950
commit
6585d78d83
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ var app = new Vue({
|
||||||
sendMessage: function(text = this.chatInput) {
|
sendMessage: function(text = this.chatInput) {
|
||||||
this.connections.forEach(c => {
|
this.connections.forEach(c => {
|
||||||
c.send(text);
|
c.send(text);
|
||||||
|
this.logMessage(`Me: ${text}`);
|
||||||
|
this.chatInput = '';
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
listenForPeerEvents: function () {
|
listenForPeerEvents: function () {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue