Michelle Bu 12 سال پیش
والد
کامیت
bf7ccbd9a1
3فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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();
     }
   });

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/peer.min.js


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است