mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Simplify _.mixin.
This commit is contained in:
@@ -4585,11 +4585,10 @@
|
|||||||
while (++index < length) {
|
while (++index < length) {
|
||||||
var args = [result],
|
var args = [result],
|
||||||
data = queue[index],
|
data = queue[index],
|
||||||
methodName = data[0],
|
|
||||||
object = data[1];
|
object = data[1];
|
||||||
|
|
||||||
push.apply(args, data[2]);
|
push.apply(args, data[2]);
|
||||||
result = object[methodName].apply(object, args);
|
result = object[data[0]].apply(object, args);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user