From 58736f743e0f0afa3db66a024bd203b42e68b713 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 3 Dec 2015 18:00:38 -0800 Subject: [PATCH] Add `rangeRight` to fp mapping. --- lib/fp/mapping.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/fp/mapping.js b/lib/fp/mapping.js index 181e55425..f7e4ad079 100644 --- a/lib/fp/mapping.js +++ b/lib/fp/mapping.js @@ -85,11 +85,11 @@ module.exports = { 'forOwn,forOwnRight,get,groupBy,includes,indexBy,indexOf,intersection,' + 'invoke,invokeMap,isMatch,lastIndexOf,map,mapKeys,mapValues,matchesProperty,' + 'maxBy,mean,minBy,merge,modArgs,modArgsSet,omit,pad,padLeft,padRight,parseInt,' + - 'partition,pick,pull,pullAll,pullAt,random,range,rearg,reject,remove,repeat,' + - 'result,sampleSize,set,some,sortBy,sortByOrder,sortedIndexBy,sortedLastIndexBy,' + - 'sortedUniqBy,startsWith,subtract,sumBy,take,takeRight,takeRightWhile,' + - 'takeWhile,throttle,times,truncate,union,uniqBy,without,wrap,xor,zip,' + - 'zipObject').split(','), + 'partition,pick,pull,pullAll,pullAt,random,range,rangeRight,rearg,reject,' + + 'remove,repeat,result,sampleSize,set,some,sortBy,sortByOrder,sortedIndexBy,' + + 'sortedLastIndexBy,sortedUniqBy,startsWith,subtract,sumBy,take,takeRight,' + + 'takeRightWhile,takeWhile,throttle,times,truncate,union,uniqBy,without,wrap,' + + 'xor,zip,zipObject').split(','), 3: ( 'assignWith,clamp,differenceBy,extendWith,getOr,inRange,intersectionBy,' + 'isEqualWith,isMatchWith,mergeWith,omitBy,pickBy,pullAllBy,reduce,' + @@ -153,6 +153,7 @@ module.exports = { 'matchesProperty': true, 'random': true, 'range': true, + 'rangeRight': true, 'zip': true, 'zipObject': true }