Prechádzať zdrojové kódy

actually use config

Michelle Bu 12 rokov pred
rodič
commit
a8ed5c84e4
5 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 1 0
      demo/static/peer.js
  2. 1 0
      dist/peer.js
  3. 0 0
      dist/peer.min.js
  4. 1 0
      lib/connection.js
  5. 2 1
      package.json

+ 1 - 0
demo/static/peer.js

@@ -1117,6 +1117,7 @@ function DataConnection(id, peer, socket, httpUrl, cb, options) {
   //this._peerReady = true;
   this.metadata = options.metadata;
   this._socketOpen = options.socketOpen;
+  this._config = options.config;
 
   // Set up socket handlers.
   this._socket = socket;

+ 1 - 0
dist/peer.js

@@ -1117,6 +1117,7 @@ function DataConnection(id, peer, socket, httpUrl, cb, options) {
   //this._peerReady = true;
   this.metadata = options.metadata;
   this._socketOpen = options.socketOpen;
+  this._config = options.config;
 
   // Set up socket handlers.
   this._socket = socket;

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/peer.min.js


+ 1 - 0
lib/connection.js

@@ -16,6 +16,7 @@ function DataConnection(id, peer, socket, httpUrl, cb, options) {
   //this._peerReady = true;
   this.metadata = options.metadata;
   this._socketOpen = options.socketOpen;
+  this._config = options.config;
 
   // Set up socket handlers.
   this._socket = socket;

+ 2 - 1
package.json

@@ -7,7 +7,8 @@
     "peerjs": "build.js"
   },
   "dependencies": {
-    "uglify-js": "~1.3.4"
+    "uglify-js": "~1.3.4",
+    "mocha": "~1.8.1"
   },
   "devDependencies": {},
   "scripts": {

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov