Browse Source

Revert changes for PL

Muhammad Asif 6 năm trước cách đây
mục cha
commit
7b9764f523
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 1
      README.md
  2. 0 1
      lib/dataconnection.js

+ 1 - 1
README.md

@@ -13,7 +13,7 @@ PeerJS provides a complete, configurable, and easy-to-use peer-to-peer API built
 **Include the library**
 **Include the library**
 
 
   with modules:
   with modules:
-`npm install https://github.com/capripio/peerjs/tarball/master`
+        `npm install peerjs` or `yarn add peerjs`
     and the usage:
     and the usage:
   ```js
   ```js
   import Peer from 'peerjs';
   import Peer from 'peerjs';

+ 0 - 1
lib/dataconnection.js

@@ -94,7 +94,6 @@ DataConnection.prototype._handleDataMessage = function(e) {
   var self = this;
   var self = this;
   var data = e.data;
   var data = e.data;
   var datatype = data.constructor;
   var datatype = data.constructor;
-  util.log(e.data);
   if (this.serialization === 'binary' || this.serialization === 'binary-utf8') {
   if (this.serialization === 'binary' || this.serialization === 'binary-utf8') {
     if (datatype === Blob) {
     if (datatype === Blob) {
       // Datatype should never be blob
       // Datatype should never be blob