From fe643e62c9f03cb4a125536a306319ed699ba2d0 Mon Sep 17 00:00:00 2001 From: chriswhelix Date: Tue, 1 Mar 2016 14:02:44 -0800 Subject: [PATCH] Replace lodash _.all with _.every _.all is removed in lodash v4 --- DeepLinkedStateLib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeepLinkedStateLib.js b/DeepLinkedStateLib.js index ddd1b71..fef963d 100644 --- a/DeepLinkedStateLib.js +++ b/DeepLinkedStateLib.js @@ -12,7 +12,7 @@ var DeepLinkedStateLib = { var value = valueObject; - var havePath = _.all(statePath, function(statePathPart) { + var havePath = _.every(statePath, function(statePathPart) { if (!_.isObject(value) || !value.hasOwnProperty(statePathPart)) { return false; }