skip missing objects
This commit is contained in:
parent
4184ee56ae
commit
40eb12c2ff
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ let gs_kiri_conf = exports;
|
|||
// add fields to o(bject) from t(arget) that are missing
|
||||
// remove fields from o(bject) that don't exist in f(ilter)
|
||||
function fill_cull(o, t, f) {
|
||||
if (!o) return;
|
||||
// add missing
|
||||
for (let k in t) {
|
||||
if (!t.hasOwnProperty(k)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue