This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some adjustments and style edits on lrbabe's pull for requestAnimatio…
…nFrame - Moved support.js check to effects.js. This is just an assignment to the function if it exists. Removed string concatenations. + Still need to do the checks on window, but after that, window is no longer needed. - Switched ternary to an if statmenet - assigned timerId to a number rather than the function. I did perf tests to check which is faster.
- Loading branch information
Showing 2 changed files with 13 additions and 17 deletions.