Ensure fp _.partial and _.partialRight accept an args param.

This commit is contained in:
John-David Dalton
2016-01-31 22:26:27 -08:00
parent b38cf204f7
commit 163fdb46f0
4 changed files with 46 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ exports.aryMethod = {
'attempt', 'ceil', 'create', 'curry', 'curryRight', 'floor', 'fromPairs',
'invert', 'iteratee', 'memoize', 'method', 'methodOf', 'mixin', 'over',
'overEvery', 'overSome', 'rest', 'reverse', 'round', 'runInContext',
'template', 'trim', 'trimEnd', 'trimStart', 'uniqueId', 'words'
'spread', 'template', 'trim', 'trimEnd', 'trimStart', 'uniqueId', 'words'
],
2: [
'add', 'after', 'ary', 'assign', 'assignIn', 'at', 'before', 'bind', 'bindKey',
@@ -147,6 +147,12 @@ exports.methodRearg = {
'transform': [2, 0, 1]
};
/** Used to map method names to spread configs. */
exports.methodSpread = {
'partial': 1,
'partialRight': 1
};
/** Used to identify methods which mutate arrays or objects. */
exports.mutate = {
'array': {