mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +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`
|
||||
source = source.replace(
|
||||
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');
|
||||
|
||||
Reference in New Issue
Block a user