Skip to content

Conversation

matsko
Copy link
Contributor

@matsko matsko commented Sep 17, 2019

Prior to this patch if any backwards-compatible Angular code was using
Ivy then the built-in window.ng debug utilies would not be exposed.

@matsko matsko requested a review from a team as a code owner September 17, 2019 18:05
Copy link
Contributor

@IgorMinar IgorMinar left a comment

Choose a reason for hiding this comment

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

lgtm, but could you please add a simple test into application_ref_integration_spec.ts? thanks!

…les are used

Prior to this patch if any backwards-compatible Angular code was using
Ivy then the built-in `window.ng` debug utilies would not be exposed.
@matsko matsko added comp: ivy target: major This PR is targeted for the next major release labels Sep 17, 2019
@ngbot ngbot bot modified the milestone: needsTriage Sep 17, 2019
@AndrewKushnir
Copy link
Contributor

@AndrewKushnir AndrewKushnir added action: presubmit The PR is in need of a google3 presubmit action: merge The PR is ready for merge by the caretaker and removed action: presubmit The PR is in need of a google3 presubmit labels Sep 17, 2019
@AndrewKushnir
Copy link
Contributor

FYI, VE and Ivy presubmits look normal. Thank you.

// included into Angular when PRE mode is active.
export function publishDefaultGlobalUtils__PRE_R3__() {}
export function publishDefaultGlobalUtils__POST_R3__() {
ngDevMode && _publishDefaultGlobalUtils();
Copy link
Contributor

Choose a reason for hiding this comment

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

We should check if ngDevMode is undefined to avoid possible ReferenceErrors when not using Angular with the CLI directly.

See: #32079

@angular-automatic-lock-bot
Copy link

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 Oct 20, 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 target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants