浏览代码

no multiplex

Michelle Bu 11 年之前
父节点
当前提交
2be1fd481b
共有 3 个文件被更改,包括 2 次插入10 次删除
  1. 1 5
      dist/peer.js
  2. 0 0
      dist/peer.min.js
  3. 1 5
      lib/dataconnection.js

+ 1 - 5
dist/peer.js

@@ -1707,11 +1707,7 @@ function DataConnection(peer, provider, options) {
   Negotiator.startConnection(
     this,
     this.options._payload || {
-      originator: true,
-      multiplex: this.options.multiplex // I don't think multiplex should be a
-                                        // top-level property because it only
-                                        // applies to the originator--otherwise
-                                        // we'd just have an options.pc to use.
+      originator: true
     }
   );
 }

文件差异内容过多而无法显示
+ 0 - 0
dist/peer.min.js


+ 1 - 5
lib/dataconnection.js

@@ -26,11 +26,7 @@ function DataConnection(peer, provider, options) {
   Negotiator.startConnection(
     this,
     this.options._payload || {
-      originator: true,
-      multiplex: this.options.multiplex // I don't think multiplex should be a
-                                        // top-level property because it only
-                                        // applies to the originator--otherwise
-                                        // we'd just have an options.pc to use.
+      originator: true
     }
   );
 }

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