소스 검색

Setting reliable to false by default

ericz 11 년 전
부모
커밋
b474a4cba6
3개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      dist/peer.js
  2. 0 0
      dist/peer.min.js
  3. 1 1
      lib/dataconnection.js

+ 1 - 1
dist/peer.js

@@ -1696,7 +1696,7 @@ function DataConnection(peer, provider, options) {
   // TODO: perhaps default serialization should be binary-utf8?
   this.options = util.extend({
     serialization: 'binary',
-    reliable: true
+    reliable: false
   }, options);
 
   // Connection is not open yet.

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


+ 1 - 1
lib/dataconnection.js

@@ -8,7 +8,7 @@ function DataConnection(peer, provider, options) {
   // TODO: perhaps default serialization should be binary-utf8?
   this.options = util.extend({
     serialization: 'binary',
-    reliable: true
+    reliable: false
   }, options);
 
   // Connection is not open yet.

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