Bump to v4.2.0.

This commit is contained in:
John-David Dalton
2016-01-31 18:48:02 -08:00
parent bbd78fee4d
commit 24a4285b70
122 changed files with 561 additions and 439 deletions

View File

@@ -1,5 +1,6 @@
var apply = require('./_apply'),
createCtorWrapper = require('./_createCtorWrapper');
createCtorWrapper = require('./_createCtorWrapper'),
root = require('./_root');
/** Used to compose bitmasks for wrapper metadata. */
var BIND_FLAG = 1;
@@ -26,7 +27,7 @@ function createPartialWrapper(func, bitmask, thisArg, partials) {
leftIndex = -1,
leftLength = partials.length,
args = Array(leftLength + argsLength),
fn = (this && this !== global && this instanceof wrapper) ? Ctor : func;
fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;
while (++leftIndex < leftLength) {
args[leftIndex] = partials[leftIndex];