Some refactoring
This commit is contained in:
1 parent
3cfac28fb1
commit
957417837e
10 files changed
+142
-58
No files matched your search
+2
-2
@@ -109,9 +109,9 @@ function recursive(input, root, output, timestamp) {
|
||||
childrenTimestamp = input["_timestamp"];
|
||||
|
||||
const attrs = {};
|
||||
if (tree["_value"]) {
|
||||
if (tree["_value"] != null) {
|
||||
attrs["value"] = [tree["_value"], tree["_type"]];
|
||||
attrs["valueTimestamp"] = childrenTimestamp;
|
||||
attrs["valueTimestamp"] = tree["_timestamp"] || childrenTimestamp;
|
||||
attrs["object"] = false;
|
||||
attrs["objectTimestamp"] = childrenTimestamp;
|
||||
} else if (tree["_object"] != null) {
|
||||
|
||||
Reference in new issue
Block a user