mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Update underscore build with _.difference patch from lodash-cli. [closes #373]
This commit is contained in:
7
dist/lodash.underscore.js
vendored
7
dist/lodash.underscore.js
vendored
@@ -236,9 +236,8 @@
|
||||
return false;
|
||||
}());
|
||||
|
||||
/** Detect various environments */
|
||||
var isIeOpera = reNative.test(root.attachEvent),
|
||||
isV8 = nativeBind && !/\n|true/.test(nativeBind + isIeOpera);
|
||||
/** Used to enable optimizations for V8 */
|
||||
var isV8 = nativeBind && !/\n/.test(nativeBind) && !reNative.test(root.attachEvent);
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
@@ -2841,7 +2840,7 @@
|
||||
function difference(array) {
|
||||
var index = -1,
|
||||
indexOf = getIndexOf(),
|
||||
length = array.length,
|
||||
length = array ? array.length : 0,
|
||||
flattened = baseFlatten(arguments, true, true, 1),
|
||||
result = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user