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

Register the Component's elementId along with it's rAF call #4

Merged
merged 1 commit into from
Apr 16, 2015

Conversation

poteto
Copy link
Collaborator

@poteto poteto commented Apr 16, 2015

Closes #2

This commit enables viewportSpy: false to work when rAF is enabled.
The Mixin essentially stores an object with elementIds as keys for all Objects
with the Mixin, and with their respective requestAnimationFrame ids as
values. This allows for #_unbindListeners to cancel the appropriate
animation frame, based on that Component's elementId.

This commit enables `viewportSpy: false` to work when rAF is enabled.
The Mixin essentially stores an object with elementIds as keys for all Objects
with the Mixin, and with their respective requestAnimationFrame ids as
values. This allows for `#_unbindListeners` to cancel the appropriate
animation frame, based on that Component's elementId.
poteto added a commit that referenced this pull request Apr 16, 2015
Register the Component's elementId along with it's rAF call
@poteto poteto merged commit b03c762 into develop Apr 16, 2015
@poteto poteto deleted the feature/2-cancel-animation-frame branch April 16, 2015 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant