@@ -478,13 +478,11 @@ function serializeNode(
|
|||||||
type: NodeType.Document,
|
type: NodeType.Document,
|
||||||
childNodes: [],
|
childNodes: [],
|
||||||
compatMode: (n as Document).compatMode, // probably "BackCompat"
|
compatMode: (n as Document).compatMode, // probably "BackCompat"
|
||||||
rootId,
|
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
return {
|
return {
|
||||||
type: NodeType.Document,
|
type: NodeType.Document,
|
||||||
childNodes: [],
|
childNodes: [],
|
||||||
rootId,
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
case n.DOCUMENT_TYPE_NODE:
|
case n.DOCUMENT_TYPE_NODE:
|
||||||
|
|||||||
Reference in New Issue
Block a user