Skip to content

refactor(compiler): remove direct accesses to DOM#898

Closed
marclaval wants to merge 1 commit into
angular:masterfrom
marclaval:nodejs_srcDOM
Closed

refactor(compiler): remove direct accesses to DOM#898
marclaval wants to merge 1 commit into
angular:masterfrom
marclaval:nodejs_srcDOM

Conversation

@marclaval
Copy link
Copy Markdown
Contributor

Needed to run all compiler tests with a DOM adapter.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a.href should probably go through the facade ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am kind of concerned that we have duplicated this code. Any way to put it in a shared space?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed this logic to an abstract GenericBrowserDomAdapter which both browser adapters extend.

@mhevery mhevery added @lgtm action: merge The PR is ready for merge by the caretaker labels Mar 11, 2015
@marclaval marclaval closed this in 537f943 Mar 11, 2015
@marclaval marclaval deleted the nodejs_srcDOM branch December 11, 2017 10:15
@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 13, 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: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants