Bump to v3.5.0.

This commit is contained in:
jdalton
2015-03-08 18:18:32 -07:00
parent 4881dda9d1
commit 06f6ffa303
29 changed files with 197 additions and 125 deletions

View File

@@ -34,7 +34,8 @@ function createPartialWrapper(func, bitmask, thisArg, partials) {
while (argsLength--) {
args[leftIndex++] = arguments[++argsIndex];
}
return (this instanceof wrapper ? Ctor : func).apply(isBind ? thisArg : this, args);
var fn = (this && this !== global && this instanceof wrapper) ? Ctor : func;
return fn.apply(isBind ? thisArg : this, args);
}
return wrapper;
}