Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Is not working if DOMContentLoaded already fired#1104

Merged
CaerusKaru merged 1 commit intoangular:masterfrom
ranjitpatra:patch-2
Dec 25, 2018
Merged

Is not working if DOMContentLoaded already fired#1104
CaerusKaru merged 1 commit intoangular:masterfrom
ranjitpatra:patch-2

Conversation

@ranjitpatra
Copy link
Copy Markdown
Contributor

If DOMContentLoaded event already fired and after adding a listener for DOMContentLoaded event, then it will not execute.

So added a check to resolve() the promise if DOMContentLoaded event already fired.

If `DOMContentLoaded` event already fired and after adding a listener for `DOMContentLoaded` event, then it will not execute.

So added a check to resolve() the promise if DOMContentLoaded event already fired.
@CaerusKaru CaerusKaru self-assigned this Dec 25, 2018
@CaerusKaru CaerusKaru added PR state: LGTM action: merge PR author is ready for this to merge target: minor target: minor This PR is targeted for the next minor release area: common labels Dec 25, 2018
@CaerusKaru CaerusKaru added this to the 6.0 milestone Dec 25, 2018
Copy link
Copy Markdown
Member

@CaerusKaru CaerusKaru left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@CaerusKaru CaerusKaru merged commit 0e38dd1 into angular:master Dec 25, 2018
@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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge PR author is ready for this to merge area: common target: minor target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants