Michelle Bu 12 rokov pred
rodič
commit
bf7ccbd9a1
3 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  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();
     }
   });

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/peer.min.js


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov