webrtc connector working
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
this._model = _model;
|
||||
// Array of all the operation id's
|
||||
this.idArray = idArray;
|
||||
// Array of all the values
|
||||
this.valArray = valArray;
|
||||
this.eventHandler = new EventHandler( ops =>{
|
||||
for (var i in ops) {
|
||||
|
||||
@@ -104,7 +104,11 @@ class EventHandler {
|
||||
// if property does not exist, return null
|
||||
// if property is a type, return a promise
|
||||
if (this.opContents[key] == null) {
|
||||
return this.contents[key];
|
||||
if (key == null) {
|
||||
return copyObject(this.contents);
|
||||
} else {
|
||||
return this.contents[key];
|
||||
}
|
||||
} else {
|
||||
let def = Promise.defer();
|
||||
var oid = this.opContents[key];
|
||||
|
||||
Reference in New Issue
Block a user