Fixed bug in objectRegistry's 'get' function
This commit is contained in:
parent
bf6cb099fd
commit
1cbb59690f
@ -167,7 +167,7 @@
|
||||
* @return {Array} An array of all the objects which are currently in the ObjectRegistry
|
||||
*/
|
||||
get: function () {
|
||||
return (_.map(this.indexes, function (cid) {return this.registeredObjects[cid];}, this)).concat(this.registeredObjects);
|
||||
return (_.map(this.cidIndexes, function (cid) {return this.registeredObjects[cid];}, this)).concat(this.registeredObjects);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user