Skip to content

Commit

Permalink
Merge pull request #194 from SafeerH/master
Browse files Browse the repository at this point in the history
Fix binding context for $raf
  • Loading branch information
bigopon authored Aug 19, 2020
2 parents 54df50c + e55f101 commit db54045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const doc = document;
export const htmlElement = doc.documentElement;
export const $raf = requestAnimationFrame;
export const $raf = requestAnimationFrame.bind(window);

0 comments on commit db54045

Please sign in to comment.