- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
23 lines
570 B
JavaScript
23 lines
570 B
JavaScript
'use strict';
|
|
|
|
function assignAfter(target, ...sources) {
|
|
if (target == null) {
|
|
throw new TypeError("Cannot convert undefined or null to object");
|
|
}
|
|
const result = { ...target };
|
|
for (const nextSource of sources) {
|
|
if (nextSource == null)
|
|
continue;
|
|
for (const nextKey in nextSource) {
|
|
if (!Object.prototype.hasOwnProperty.call(nextSource, nextKey))
|
|
continue;
|
|
if (nextKey in result)
|
|
delete result[nextKey];
|
|
result[nextKey] = nextSource[nextKey];
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
|
|
exports.assignAfter = assignAfter;
|