Skip to content

node has data and has sub nodes question #11

@killmenot

Description

@killmenot

@robtweed Please take a look:

if (defined === 1 || defined === 11) {
document[index] = db.get(node).data;
if (document[index] === 'true') document[index] = true;
if (document[index] === 'false') document[index] = false;
//document[index] = removeDoubleQuotes(document[index], db);
}
if (defined === 10 || defined === 11) {
document[index] = getSubnodes(node);
}

What if node has data and has sub nodes (defined = 11)? In this case data set on line 97 was replaced on line 103. Is it correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions