Muhammad Asif 6 жил өмнө
parent
commit
7b9764f523
2 өөрчлөгдсөн 1 нэмэгдсэн , 2 устгасан
  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**
 
   with modules:
-`npm install https://github.com/capripio/peerjs/tarball/master`
+        `npm install peerjs` or `yarn add peerjs`
     and the usage:
   ```js
   import Peer from 'peerjs';

+ 0 - 1
lib/dataconnection.js

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