mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Rebuild dist/.
Former-commit-id: d71f105493e9931f95aff890e8efaf480a1ee827
This commit is contained in:
11
dist/lodash.underscore.js
vendored
11
dist/lodash.underscore.js
vendored
@@ -18,9 +18,6 @@
|
||||
/** Used internally to indicate various things */
|
||||
var indicatorObject = {};
|
||||
|
||||
/** Used to avoid reference errors and circular dependency errors */
|
||||
var dependencyObject = {};
|
||||
|
||||
/** Used to prefix keys to avoid issues with `__proto__` and properties on `Object.prototype` */
|
||||
var keyPrefix = +new Date + '';
|
||||
|
||||
@@ -619,7 +616,7 @@
|
||||
* _.keys({ 'one': 1, 'two': 2, 'three': 3 });
|
||||
* // => ['one', 'two', 'three'] (order is not guaranteed)
|
||||
*/
|
||||
var keys = dependencyObject.keys = !nativeKeys ? shimKeys : function(object) {
|
||||
var keys = !nativeKeys ? shimKeys : function(object) {
|
||||
if (!isObject(object)) {
|
||||
return [];
|
||||
}
|
||||
@@ -1051,7 +1048,7 @@
|
||||
* });
|
||||
* // => true
|
||||
*/
|
||||
var isEqual = dependencyObject.isEqual = function(a, b, stackA, stackB) {
|
||||
function isEqual(a, b, stackA, stackB) {
|
||||
if (a === b) {
|
||||
return a !== 0 || (1 / a == 1 / b);
|
||||
}
|
||||
@@ -1147,7 +1144,7 @@
|
||||
});
|
||||
}
|
||||
return result;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if `value` is, or can be coerced to, a finite number.
|
||||
@@ -1286,6 +1283,8 @@
|
||||
/**
|
||||
* Checks if `value` is a number.
|
||||
*
|
||||
* Note: `NaN` is considered a number. See http://es5.github.io/#x8.5.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @category Objects
|
||||
|
||||
Reference in New Issue
Block a user