From 83f241e7b466638208cd965f4b5f2c70490328f6 Mon Sep 17 00:00:00 2001 From: Christoph Diehl Date: Tue, 6 Jun 2017 07:04:43 +0200 Subject: [PATCH] Fix namespace of getKeysFromHash --- lib/utils/objects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/objects.js b/lib/utils/objects.js index bb04d21..1ee0d71 100644 --- a/lib/utils/objects.js +++ b/lib/utils/objects.js @@ -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)