Fix namespace of getKeysFromHash

This commit is contained in:
Christoph Diehl 2017-06-06 07:04:43 +02:00
parent aaa11ca105
commit 83f241e7b4
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ Objects.prototype.pick = function (category, last) {
Objects.prototype.pop = function (objectName) {
let self = this
utils.getKeysFromHash(this.container).forEach(function (category) {
utils.common.getKeysFromHash(this.container).forEach(function (category) {
self.container[category].forEach(function (obj) {
if (obj.name === objectName) {
self.container[category].splice(self.container[category].indexOf(obj), 1)