mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Rebuild docs/dists and update tested browsers in readme.
This commit is contained in:
16
dist/lodash.underscore.js
vendored
16
dist/lodash.underscore.js
vendored
@@ -3192,10 +3192,12 @@
|
||||
if (arguments.length < 3) {
|
||||
return createWrapper(func, BIND_FLAG, null, thisArg);
|
||||
}
|
||||
var arity = func && (func[expando] ? func[expando][2] : func.length),
|
||||
partialArgs = slice(arguments, 2);
|
||||
if (func) {
|
||||
var arity = func[expando] ? func[expando][2] : func.length,
|
||||
partialArgs = slice(arguments, 2);
|
||||
|
||||
arity -= partialArgs.length;
|
||||
arity -= partialArgs.length;
|
||||
}
|
||||
return createWrapper(func, BIND_FLAG | PARTIAL_FLAG, arity, thisArg, partialArgs);
|
||||
}
|
||||
|
||||
@@ -3581,10 +3583,12 @@
|
||||
* // => 'hi fred'
|
||||
*/
|
||||
function partial(func) {
|
||||
var arity = func && (func[expando] ? func[expando][2] : func.length),
|
||||
partialArgs = slice(arguments, 1);
|
||||
if (func) {
|
||||
var arity = func[expando] ? func[expando][2] : func.length,
|
||||
partialArgs = slice(arguments, 1);
|
||||
|
||||
arity -= partialArgs.length;
|
||||
arity -= partialArgs.length;
|
||||
}
|
||||
return createWrapper(func, PARTIAL_FLAG, arity, null, partialArgs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user