Make fp.without an alias of fp.difference. [closes #2122]

This commit is contained in:
John-David Dalton
2016-03-16 21:30:48 -07:00
parent 412e19006b
commit b61d30da1a
2 changed files with 5 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ exports.aliasToReal = {
'unnest': 'flatten',
'useWith': 'overArgs',
'whereEq': 'filter',
'without': 'difference',
'zipObj': 'zipObject'
};
@@ -163,7 +164,8 @@ exports.methodSpread = {
'invokeArgs': 2,
'invokeArgsMap': 2,
'partial': 1,
'partialRight': 1
'partialRight': 1,
'without': 1
};
/** Used to identify methods which mutate arrays or objects. */