Skip to content

Discrepencies vs spec and NodeTemplatePart #43

@keithamus

Description

@keithamus

One other thing I see discrepancy with is missing NodeValueSetter in NodeTemplatePart. I get your reasoning - it also seems a bit faster to not have setter and call splitText in collecting parts instead of initial replacing with collected parts, but I wonder if nodePart.replacementNodes can be useful for processor implementors - it seems to be missing now.

  // NodeTemplatePart
++  get replacementNodes() {
++    return this.#parts
++  }

Originally posted by @dy in #38 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions