Skip to content

Commit

Permalink
fix(cancelAnimationFrame): polyfill in ionic.DomUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bradley committed Jun 16, 2014
1 parent 3c711df commit a057734
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/utils/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
* happens.
*/
requestAnimationFrame: function(cb) {
window._rAF(cb);
return window._rAF(cb);
},

cancelAnimationFrame: function(cb) {
cancelAnimationFrame: function(requestId) {
cancelAnimationFrame(requestId);
},

/**
Expand Down

0 comments on commit a057734

Please sign in to comment.