Skip to content

Commit

Permalink
Merge pull request soulwire#11 from AriaMinaei/master
Browse files Browse the repository at this point in the history
Fixed little typo with cancelAnimationFrame
  • Loading branch information
soulwire committed May 1, 2013
2 parents b350023 + 3285b67 commit 1aa50d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/base.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ do ->

for vendor in vendors when not window.requestAnimationFrame
window.requestAnimationFrame = window[ vendor + 'RequestAnimationFrame']
window.cancelRequestAnimationFrame = window[ vendor + 'CancelRequestAnimationFrame']
window.cancelAnimationFrame = window[ vendor + 'CancelAnimationFrame']

if not window.requestAnimationFrame

Expand All @@ -25,4 +25,4 @@ do ->
if not window.cancelAnimationFrame

window.cancelAnimationFrame = (id) ->
clearTimeout id
clearTimeout id

0 comments on commit 1aa50d5

Please sign in to comment.