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

Don’t run the script multiple times in the same frame #41

Closed
ausi opened this issue Jun 8, 2017 · 1 comment
Closed

Don’t run the script multiple times in the same frame #41

ausi opened this issue Jun 8, 2017 · 1 comment
Assignees

Comments

@ausi
Copy link
Owner

ausi commented Jun 8, 2017

E.g. for the initial frame cq-prolyfill may run 4 times (initial, MutationObserver, domready and load).

These calls should be scheduled and executed by an animation frame callback. This change must not create a FOUC problem.

@ausi ausi self-assigned this Jun 8, 2017
@ausi ausi added this to To Do in Version 0.4.0 Jun 10, 2017
@ausi ausi moved this from To Do to Done in Version 0.4.0 Jun 10, 2017
@ausi
Copy link
Owner Author

ausi commented Jun 12, 2017

Implemented in version 0.4.0.

/cc @eeeps

@ausi ausi closed this as completed Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant