LearnNewsExamplesServices
Frontmatter
id114
titleDeltaUpdates: du_insertNode()
stateClosed
labels
enhancement
assigneestobiu
createdAtNov 26, 2019, 9:17 PM
updatedAtNov 26, 2019, 9:19 PM
githubUrlhttps://github.com/neomjs/neo/issues/114
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 26, 2019, 9:19 PM

DeltaUpdates: du_insertNode()

tobiu
tobiu commented on Nov 26, 2019, 9:17 PM

we need a switch to check if vtype:'text' nodes exist for a given parentNode.

if not, do the same as before (performance).

otherwise, use parentNode.childNodes (instead of parentNode.childres), filter out the comments to get the real index, get the new node from a template and insert it.

tobiu added the enhancement label on Nov 26, 2019, 9:17 PM
tobiu assigned to @tobiu on Nov 26, 2019, 9:17 PM
tobiu referenced in commit b0356d6 - "DeltaUpdates: du_insertNode() #114" on Nov 26, 2019, 9:18 PM
tobiu
tobiu Nov 26, 2019, 9:19 PM

done.

tobiu closed this issue on Nov 26, 2019, 9:19 PM