mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Rename fp mapping rename to remap.
This commit is contained in:
@@ -254,7 +254,7 @@ function baseConvert(util, name, func, options) {
|
||||
var pairs = [];
|
||||
each(mapping.caps, function(cap) {
|
||||
each(mapping.aryMethod[cap], function(key) {
|
||||
var func = _[mapping.rename[key] || key];
|
||||
var func = _[mapping.remap[key] || key];
|
||||
if (func) {
|
||||
pairs.push([key, wrap(key, func)]);
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ exports.realToAlias = (function() {
|
||||
}());
|
||||
|
||||
/** Used to map method names to other names. */
|
||||
exports.rename = {
|
||||
exports.remap = {
|
||||
'curryN': 'curry',
|
||||
'curryRightN': 'curryRight',
|
||||
'getOr': 'get',
|
||||
|
||||
Reference in New Issue
Block a user