'extendDeep' is now 'extend'
This commit is contained in:
@@ -144,11 +144,7 @@ export function grayscale ({red, green, blue}) {
|
||||
}
|
||||
|
||||
export function extend (obj, ...sources) {
|
||||
return Object.assign({}, obj, ...sources);
|
||||
}
|
||||
|
||||
export function extendDeep (obj, ...sources) {
|
||||
let extended = extend(obj);
|
||||
const extended = Object.assign({}, obj);
|
||||
|
||||
sources.forEach(src => {
|
||||
forEach(src, (value, key) => {
|
||||
|
||||
Reference in New Issue
Block a user