mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Drop the __chain__ check from lodash.
This commit is contained in:
@@ -917,7 +917,7 @@
|
|||||||
if (value instanceof LodashWrapper) {
|
if (value instanceof LodashWrapper) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
if (hasOwnProperty.call(value, '__chain__') && hasOwnProperty.call(value, '__wrapped__')) {
|
if (hasOwnProperty.call(value, '__wrapped__')) {
|
||||||
return wrapperClone(value);
|
return wrapperClone(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user