mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Fix typo left out of the "legacy include=defer" patch.
Former-commit-id: cf8f3e072534a925bdf6a0ebdee65d1280f7d29e
This commit is contained in:
2
build.js
2
build.js
@@ -2000,7 +2000,7 @@
|
|||||||
// replace `_.isPlainObject` with `shimIsPlainObject`
|
// replace `_.isPlainObject` with `shimIsPlainObject`
|
||||||
source = source.replace(
|
source = source.replace(
|
||||||
matchFunction(source, 'isPlainObject').replace(/[\s\S]+?var isPlainObject *= */, ''),
|
matchFunction(source, 'isPlainObject').replace(/[\s\S]+?var isPlainObject *= */, ''),
|
||||||
matchFunction(source, 'shimIsPlainObject').replace(/[\s\S]+?function shimIsPlainObject/, 'function').replace(/\s*$/, '')
|
matchFunction(source, 'shimIsPlainObject').replace(/[\s\S]+?function shimIsPlainObject/, 'function').replace(/\s*$/, ';\n')
|
||||||
);
|
);
|
||||||
|
|
||||||
source = removeFunction(source, 'shimIsPlainObject');
|
source = removeFunction(source, 'shimIsPlainObject');
|
||||||
|
|||||||
Reference in New Issue
Block a user