• timmywil's avatar
    Some adjustments and style edits on lrbabe's pull for requestAnimationFrame · fe3203bb
    timmywil authored
    - 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.
    fe3203bb
Name
Last commit
Last update
build Loading commit data...
speed Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
GPL-LICENSE.txt Loading commit data...
MIT-LICENSE.txt Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
version.txt Loading commit data...