FaC: Das alte Flag von Terminen, die in die Zeiterfassung übernommen worden sind, wird ebenfalls berücksichtigt.
14 lines
267 B
JavaScript
14 lines
267 B
JavaScript
var is = require('./is')
|
|
, not = require('./not')
|
|
, keys = require('./keys')
|
|
, copy = require('./copy')
|
|
|
|
module.exports = function extend(to){
|
|
return function(from){
|
|
keys(from)
|
|
.filter(not(is.in(to)))
|
|
.map(copy(from, to))
|
|
|
|
return to
|
|
}
|
|
} |