Update to xo-collection 0.3.
This commit is contained in:
parent
d93d234c71
commit
b3d58f4f0c
@ -46,7 +46,7 @@
|
||||
"minimist": "^1.1.1",
|
||||
"pw": "0.0.4",
|
||||
"xmlrpc": "^1.3.0",
|
||||
"xo-collection": "0.0.1"
|
||||
"xo-collection": "^0.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel": "^5",
|
||||
|
@ -163,7 +163,7 @@ export class Xapi extends EventEmitter {
|
||||
this._objectsByRefs = createObject(null)
|
||||
this._objectsByRefs['OpaqueRef:NULL'] = null
|
||||
this._objects = new Collection()
|
||||
this._objects.getId = (object) => object.$id
|
||||
this._objects.getKey = (object) => object.$id
|
||||
|
||||
this._fromToken = ''
|
||||
this.on('connected', this._watchEvents)
|
||||
|
Loading…
Reference in New Issue
Block a user