Fix typo of matchProp to matchVar in build.js.

Former-commit-id: d42933a19b7c90dd7b007858ec73b8f7b2f64572
This commit is contained in:
John-David Dalton
2013-07-06 20:17:48 -07:00
parent 4be5b80ff6
commit ffa6fafcc1

View File

@@ -4097,7 +4097,7 @@
});
// replace `_` use in `_.templateSettings.imports`
source = source.replace(matchProp(source, 'templateSettings'), function(match) {
source = source.replace(matchVar(source, 'templateSettings'), function(match) {
return match.replace(/(:\s*)lodash\b/, "$1{ 'escape': escape }");
});