Skip to content

Commit

Permalink
Add polyfill for request animation frame
Browse files Browse the repository at this point in the history
  • Loading branch information
snuggs committed Sep 14, 2017
1 parent c36b7c4 commit 34ebad9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions animation.es
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
// https://www.webreflection.co.uk/blog/2016/07/31/taming-raf-and-rick
// https://www.paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://blog.teamtreehouse.com/efficient-animations-with-requestanimationframe
//
// Polyfill - https://github.com/WebReflection/dom4/blob/master/src/dom4.js#L428-L469

var aliceTumbling = [
{ transform: 'rotate(0) translate3D(-50%, -50%, 0', color: '#000' },
Expand Down

0 comments on commit 34ebad9

Please sign in to comment.