This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(patch): support requestAnimationFrame time loops
- Add custom patching function for repeating callback functions to support requestAnimationFrame wrapping. - Bind requestAnimationFrame callback functions to the current zone unless it is the root zone. - DRY up requestAnimationFrame spec file (to remove duplication across browsers) - Add test that verifies that when registering frame callbacks from within a frame callback, the zone in which they execute remains constant. - Add test to verify the wrapper is tolerant of invalid arguments. - Add note to readme about behavior of raf
- Loading branch information
1 parent
c7a2ed9
commit 3d6dc08
Showing
4 changed files
with
64 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters