mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Use extendWith instead of defaults in _.template to reduce deps.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user