Rename mapping rekey to rename.

This commit is contained in:
John-David Dalton
2016-02-01 23:52:26 -08:00
parent fa4d85897c
commit daeb55e99d
5 changed files with 8 additions and 8 deletions

View File

@@ -211,7 +211,7 @@ function baseConvert(util, name, func) {
var pairs = [];
each(mapping.caps, function(cap) {
each(mapping.aryMethod[cap], function(key) {
var func = _[mapping.rekey[key] || key];
var func = _[mapping.rename[key] || key];
if (func) {
pairs.push([key, wrap(key, func)]);
}

View File

@@ -208,8 +208,8 @@ exports.realToAlias = (function() {
return result;
}());
/** Used to map keys to other keys. */
exports.rekey = {
/** Used to map method names to other names. */
exports.rename = {
'curryN': 'curry',
'curryRightN': 'curryRight',
'getOr': 'get'