Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defer building system layer until pages have been initialized #11878

Merged
merged 8 commits into from
Nov 1, 2017
Merged

Defer building system layer until pages have been initialized #11878

merged 8 commits into from
Nov 1, 2017

Conversation

newmuis
Copy link
Contributor

@newmuis newmuis commented Oct 31, 2017

amp-story can have children other than amp-story-page, so naively counting children cannot work. We could count amp-story-page tags, but this logic will also change over time as we explore experiences that may e.g. inject children, so this changes the logic to defer building the system layer until layout (at which point the pages have been initialized).

@alanorozco alanorozco merged commit ab5175d into ampproject:master Nov 1, 2017
neko-fire pushed a commit to 3qnexx/amphtml that referenced this pull request Nov 17, 2017
…ject#11878)

* Change progress bar to not handle active page, since active page updates progress bar through PAGE_PROGRESS events

* Revert "Change progress bar to not handle active page, since active page updates progress bar through PAGE_PROGRESS events"

This reverts commit 0500899.

* Defer building system layer until pages have been initialized.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants