@@ -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;
@@ -16,6 +16,7 @@ function DataConnection(id, peer, socket, httpUrl, cb, options) {
@@ -7,7 +7,8 @@
"peerjs": "build.js"
},
"dependencies": {
- "uglify-js": "~1.3.4"
+ "uglify-js": "~1.3.4",
+ "mocha": "~1.8.1"
"devDependencies": {},
"scripts": {