Update to xo-collection 0.3.

This commit is contained in:
Julien Fontanet 2015-05-22 10:38:08 +02:00
parent d93d234c71
commit b3d58f4f0c
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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)