update static

parent a3ebe443
......@@ -374,9 +374,12 @@
// if any of the keys is not in the allowed_sub_keys
if (!(allowed_sub_keys.indexOf(sub_keys[j]) > -1)) {
// remove it
delete results[Object.keys(results)[0]][keys[index]][sub_keys[i]];
delete results[Object.keys(results)[0]][keys[index]][sub_keys[j]];
}
}
} else {
// if the definition has no props then the object is empty
results[Object.keys(results)[0]][keys[index]] = {};
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment