From bd65bb67e25a79b019d745b7262b2008ce2adb15 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 16 Nov 2016 01:59:39 +0100 Subject: incrementally verify denoms The denominations are not stored in a separate object store. --- node_modules/lodash/_baseMatchesProperty.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'node_modules/lodash/_baseMatchesProperty.js') diff --git a/node_modules/lodash/_baseMatchesProperty.js b/node_modules/lodash/_baseMatchesProperty.js index 3968081bc..24afd893d 100644 --- a/node_modules/lodash/_baseMatchesProperty.js +++ b/node_modules/lodash/_baseMatchesProperty.js @@ -6,9 +6,9 @@ var baseIsEqual = require('./_baseIsEqual'), matchesStrictComparable = require('./_matchesStrictComparable'), toKey = require('./_toKey'); -/** Used to compose bitmasks for comparison styles. */ -var UNORDERED_COMPARE_FLAG = 1, - PARTIAL_COMPARE_FLAG = 2; +/** Used to compose bitmasks for value comparisons. */ +var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; /** * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. @@ -26,7 +26,7 @@ function baseMatchesProperty(path, srcValue) { var objValue = get(object, path); return (objValue === undefined && objValue === srcValue) ? hasIn(object, path) - : baseIsEqual(srcValue, objValue, undefined, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG); + : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); }; } -- cgit v1.2.3