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


部分文件因为文件数量过多而无法显示