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

amp-bind: Delay init until viewer first visible #9033

Merged
merged 3 commits into from Apr 28, 2017

Conversation

dreamofabear
Copy link

Fixes #9032. Will follow up with unit tests.

/to @dvoytenko @jridgewell

@dvoytenko
Copy link
Contributor

LGTM, but the question I have: is this purely a performance thing? Or more related to prerender privacy? If the latter, we must have tests for this.

@dreamofabear
Copy link
Author

@dvoytenko Just a performance thing to reduce potential impact on SRP.

@dreamofabear dreamofabear merged commit 14db9cc into ampproject:master Apr 28, 2017
@dreamofabear dreamofabear deleted the bind-prerender branch April 28, 2017 21:28
jridgewell pushed a commit that referenced this pull request Apr 28, 2017
* make bind wait until viewer visible

* fix lint

* fix tests
KenneyE pushed a commit to spotxchange/amphtml that referenced this pull request May 3, 2017
* make bind wait until viewer visible

* fix lint

* fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants