Permalink
Please
sign in to comment.
Browse files
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
with
13 additions
and 17 deletions.
- +12 −8 src/effects.js
- +1 −9 src/support.js
0 comments on commit
fe3203b