Update fp mapping for nthArg, modArgs, and modArgsSet.

This commit is contained in:
John-David Dalton
2015-10-24 08:06:12 -07:00
parent 0d9b03ced2
commit 04879d0fe5
2 changed files with 8 additions and 6 deletions

View File

@@ -58,11 +58,12 @@ module.exports = {
'dropWhile,endsWith,every,extend,filter,find,find,findIndex,findKey,findLast,' + 'dropWhile,endsWith,every,extend,filter,find,find,findIndex,findKey,findLast,' +
'findLastIndex,findLastKey,forEach,forEachRight,forIn,forInRight,forOwn,' + 'findLastIndex,findLastKey,forEach,forEachRight,forIn,forInRight,forOwn,' +
'forOwnRight,get,groupBy,includes,indexBy,indexOf,intersection,invoke,' + 'forOwnRight,get,groupBy,includes,indexBy,indexOf,intersection,invoke,' +
'isMatch,lastIndexOf,map,mapKeys,mapValues,maxBy,minBy,merge,omit,pad,padLeft,' + 'isMatch,lastIndexOf,map,mapKeys,mapValues,maxBy,minBy,merge,modArgs,' +
'padRight,parseInt,partition,pick,pull,pullAll,pullAt,random,range,rearg,reject,' + 'modArgsSet,omit,pad,padLeft,padRight,parseInt,partition,pick,pull,pullAll,' +
'remove,repeat,result,sampleSize,set,some,sortBy,sortByOrder,sortedIndexBy,' + 'pullAt,random,range,rearg,reject,remove,repeat,result,sampleSize,set,some,' +
'sortedLastIndexBy,sortedUniqBy,startsWith,sumBy,take,takeRight,takeRightWhile,' + 'sortBy,sortByOrder,sortedIndexBy,sortedLastIndexBy,sortedUniqBy,startsWith,' +
'takeWhile,throttle,times,trunc,union,uniqBy,uniqueId,without,wrap,xor,zip').split(','), 'sumBy,take,takeRight,takeRightWhile,takeWhile,throttle,times,trunc,union,' +
'uniqBy,uniqueId,without,wrap,xor,zip').split(','),
3: ( 3: (
'assignWith,clamp,differenceBy,extendWith,inRange,intersectionBy,isEqualWith,' + 'assignWith,clamp,differenceBy,extendWith,inRange,intersectionBy,isEqualWith,' +
'isMatchWith,mergeWith,omitBy,pickBy,pullAllBy,reduce,reduceRight,slice,' + 'isMatchWith,mergeWith,omitBy,pickBy,pullAllBy,reduce,reduceRight,slice,' +

View File

@@ -83,7 +83,8 @@ QUnit.module('method ary caps');
var funcMethods = [ var funcMethods = [
'after', 'ary', 'before', 'bind', 'bindKey', 'cloneDeepWith', 'cloneWith', 'after', 'ary', 'before', 'bind', 'bindKey', 'cloneDeepWith', 'cloneWith',
'curryN', 'debounce', 'delay', 'rearg', 'throttle', 'wrap' 'curryN', 'debounce', 'delay', 'modArgs', 'modArgsSet', 'rearg', 'throttle',
'wrap'
]; ];
var exceptions = _.difference(funcMethods.concat('matchesProperty'), ['cloneDeepWith', 'cloneWith', 'delay']), var exceptions = _.difference(funcMethods.concat('matchesProperty'), ['cloneDeepWith', 'cloneWith', 'delay']),