From 2b1eedb03627d2f39cca77ae6f545b1bf27d0a52 Mon Sep 17 00:00:00 2001 From: Billy Janitsch Date: Tue, 9 Feb 2016 20:10:21 -0500 Subject: [PATCH] Fix FP rearg for `_.zipWith` and `_.inRange`. --- fp/_mapping.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/fp/_mapping.js b/fp/_mapping.js index 75f0babaa..42d7c993c 100644 --- a/fp/_mapping.js +++ b/fp/_mapping.js @@ -80,7 +80,7 @@ exports.aryMethod = { /** Used to map ary to rearg configs. */ exports.aryRearg = { 2: [1, 0], - 3: [2, 1, 0], + 3: [2, 0, 1], 4: [3, 2, 0, 1] }; @@ -138,14 +138,13 @@ exports.iterateeRearg = { exports.methodRearg = { 'assignInWith': [1, 2, 0], 'assignWith': [1, 2, 0], - 'clamp': [2, 0, 1], + 'getOr': [2, 1, 0], + 'isMatchWith': [2, 1, 0], 'mergeWith': [1, 2, 0], - 'reduce': [2, 0, 1], - 'reduceRight': [2, 0, 1], - 'set': [2, 0, 1], + 'pullAllBy': [2, 1, 0], 'setWith': [3, 1, 2, 0], - 'slice': [2, 0, 1], - 'transform': [2, 0, 1] + 'sortedIndexBy': [2, 1, 0], + 'sortedLastIndexBy': [2, 1, 0] }; /** Used to map method names to spread configs. */