X Tutup
Skip to content

Use Comments Instead of Script Tags#5805

Closed
vsavkin wants to merge 3 commits intoangular:masterfrom
vsavkin:use_comment_instead_template_for_ng_if
Closed

Use Comments Instead of Script Tags#5805
vsavkin wants to merge 3 commits intoangular:masterfrom
vsavkin:use_comment_instead_template_for_ng_if

Conversation

@vsavkin
Copy link
Copy Markdown
Contributor

@vsavkin vsavkin commented Dec 10, 2015

No description provided.

This is used for setting property binding values as attributes
on elements when running in dev mode. This implementation will
also serialize binding information to template placeholder
comment nodes.

Closes angular#5227
… template>` elements

Originally authored by @tbosch, this reverts the revert commit
e274ff8.

Closes angular#4805
@googlebot
Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@vsavkin vsavkin added pr_state: LGTM action: merge The PR is ready for merge by the caretaker labels Dec 10, 2015
@vsavkin vsavkin added this to the beta.0 milestone Dec 10, 2015
In the browser, calling element.textContent causes child comment
nodes to be ignored, while getting textContent directly on a
comment node will return the comment. This change makes
parse5Adapter consistent with this behavior by adding a 2nd
argument to getText telling if it's being called recursively.
@vsavkin vsavkin force-pushed the use_comment_instead_template_for_ng_if branch from 0afc667 to 2920767 Compare December 10, 2015 18:12
@mary-poppins
Copy link
Copy Markdown

Merging PR #5805 on behalf of @vsavkin to branch presubmit-vsavkin-pr-5805.

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: no

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup