Fix typo left out of the "legacy include=defer" patch.

Former-commit-id: cf8f3e072534a925bdf6a0ebdee65d1280f7d29e
This commit is contained in:
John-David Dalton
2013-05-20 08:44:12 -07:00
parent 010c26e716
commit 242e8a3bd6

View File

@@ -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');