Michelle Bu il y a 12 ans
Parent
commit
bf7ccbd9a1
3 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      demo/static/peer.js
  2. 1 0
      dist/peer.js
  3. 0 0
      dist/peer.min.js

+ 1 - 0
demo/static/peer.js

@@ -890,6 +890,7 @@ Peer.prototype._startSocket = function() {
   });
   this._socket.on('open', function() {
     if (this.id) {
+      this.emit('open', this.id);
       self._processQueue();
     }
   });

+ 1 - 0
dist/peer.js

@@ -890,6 +890,7 @@ Peer.prototype._startSocket = function() {
   });
   this._socket.on('open', function() {
     if (this.id) {
+      this.emit('open', this.id);
       self._processQueue();
     }
   });

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/peer.min.js


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff