Bump to v3.5.0.

This commit is contained in:
jdalton
2015-03-08 18:09:08 -07:00
parent d01a1e4ef3
commit ee1f12c851
29 changed files with 117 additions and 71 deletions

View File

@@ -23,7 +23,7 @@ import isError from '../lang/isError';
function attempt() {
var func = arguments[0],
length = arguments.length,
args = Array(length ? length - 1 : 0);
args = Array(length ? (length - 1) : 0);
while (--length > 0) {
args[length - 1] = arguments[length];

View File

@@ -70,7 +70,11 @@ function mixin(object, source, options) {
var chainAll = this.__chain__;
if (chain || chainAll) {
var result = object(this.__wrapped__);
(result.__actions__ = arrayCopy(this.__actions__)).push({ 'func': func, 'args': arguments, 'thisArg': object });
(result.__actions__ = arrayCopy(this.__actions__)).push({
'func': func,
'args': arguments,
'thisArg': object
});
result.__chain__ = chainAll;
return result;
}