Michelle Bu 12 년 전
부모
커밋
401e2ae225
2개의 변경된 파일4개의 추가작업 그리고 12개의 파일을 삭제
  1. 4 12
      dist/peer.js
  2. 0 0
      dist/peer.min.js

+ 4 - 12
dist/peer.js

@@ -1498,7 +1498,6 @@ function DataConnection(peer, dc, options) {
   EventEmitter.call(this);
 
   options = util.extend({
-    reliable: false,
     serialization: 'binary'
   }, options);
 
@@ -1941,17 +1940,10 @@ ConnectionManager.prototype.connect = function(options) {
     return;
   }
 
-  if (util.browserisms === 'Firefox') {
-    options = util.extend({
-      label: 'peerjs',
-      reliable: true
-    }, options);
-  } else {
-    options = util.extend({
-      label: 'peerjs',
-      reliable: false
-    }, options);
-  }
+  options = util.extend({
+    label: 'peerjs',
+    reliable: (util.browserisms === 'Firefox')
+  }, options);
 
   // Check if label is taken...if so, generate a new label randomly.
   while (!!this.connections[options.label]) {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/peer.min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.