Replace _.result use with _.get.

This commit is contained in:
John-David Dalton
2016-06-11 20:56:26 -07:00
parent 9a1b3d813a
commit 4a0610f107
5 changed files with 15 additions and 15 deletions

View File

@@ -345,7 +345,7 @@
var aryCap = index + 1;
var methodNames = _.filter(mapping.aryMethod[aryCap], function(methodName) {
var key = _.result(mapping.remap, methodName, methodName),
var key = _.get(mapping.remap, methodName, methodName),
arity = _[key].length;
return arity != 0 && arity < aryCap;