Fix namespace of getKeysFromHash
This commit is contained in:
parent
aaa11ca105
commit
83f241e7b4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue