Arno Kaimbacher
f403c3109f
All checks were successful
CI Pipeline / japa-tests (push) Successful in 54s
- npm updates - side menu with child items - flash messages via HttpContext response (extended via macro)
13 lines
295 B
TypeScript
13 lines
295 B
TypeScript
// extend an object with properties of one or more other objects
|
|
export function extend(dest) {
|
|
var i, j, len, src;
|
|
|
|
for (j = 1, len = arguments.length; j < len; j++) {
|
|
src = arguments[j];
|
|
for (i in src) {
|
|
dest[i] = src[i];
|
|
}
|
|
}
|
|
return dest;
|
|
}
|