mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Rebuild dist/ and docs.
This commit is contained in:
17
dist/lodash.underscore.js
vendored
17
dist/lodash.underscore.js
vendored
@@ -3252,7 +3252,8 @@
|
||||
*/
|
||||
function compose() {
|
||||
var funcs = arguments,
|
||||
length = funcs.length;
|
||||
funcsLength = funcs.length,
|
||||
length = funcsLength;
|
||||
|
||||
while (length--) {
|
||||
if (!isFunction(funcs[length])) {
|
||||
@@ -3260,13 +3261,13 @@
|
||||
}
|
||||
}
|
||||
return function() {
|
||||
var args = arguments,
|
||||
length = funcs.length;
|
||||
var length = funcsLength - 1,
|
||||
result = funcs[length].apply(this, arguments);
|
||||
|
||||
while (length--) {
|
||||
args = [funcs[length].apply(this, args)];
|
||||
result = funcs[length].call(this, result);
|
||||
}
|
||||
return args[0];
|
||||
return result;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3708,6 +3709,12 @@
|
||||
* callback returns `undefined` cloning will be handled by the method instead.
|
||||
* The callback is bound to `thisArg` and invoked with one argument; (value).
|
||||
*
|
||||
* Note: This method is loosely based on the structured clone algorithm. Functions
|
||||
* and DOM nodes are **not** cloned. The enumerable properties of `arguments` objects and
|
||||
* objects created by constructors other than `Object` are cloned to plain `Object` objects.
|
||||
* See the [HTML5 specification](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm)
|
||||
* for more details.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @category Objects
|
||||
|
||||
Reference in New Issue
Block a user