Use extendWith instead of defaults in _.template to reduce deps.

This commit is contained in:
John-David Dalton
2015-07-24 17:12:36 -07:00
parent c5057905b6
commit 4fc94a4383

View File

@@ -10194,9 +10194,9 @@
options = otherOptions = undefined;
}
string = baseToString(string);
options = defaults({}, otherOptions || options, settings);
options = extendWith({}, otherOptions || options, settings, extendDefaults);
var imports = defaults({}, options.imports, settings.imports),
var imports = extendWith({}, options.imports, settings.imports, extendDefaults),
importsKeys = keys(imports),
importsValues = baseValues(imports, importsKeys);