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


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません