forked from geolba/tethys.backend
Arno Kaimbacher
4714dfdd94
- npm normal updates - add all xslt and style asstes in extra folder public/assets2 - linting corrections - delete local .env.test from git tracking: git rm --cached .env.test - add .env.test into .gitignore file - add edit functionality for editing by submitter - npm updates -added xslt3 packeage for builfing sef files - added Language.ts class vor language table - added version to datasetxml2oai-pmh.xslt
15 lines
310 B
TypeScript
15 lines
310 B
TypeScript
// extend an object with properties of one or more other objects
|
|
export function extend(dest) {
|
|
let i;
|
|
let j;
|
|
let len;
|
|
|
|
for (j = 1, len = arguments.length; j < len; j++) {
|
|
let src = arguments[j];
|
|
for (i in src) {
|
|
dest[i] = src[i];
|
|
}
|
|
}
|
|
return dest;
|
|
}
|