Closed eligolding closed 7 years ago
Thanks!
Wow that was fast! Thank you!
It takes like 30 seconds to do a release :-)
On Wed, Mar 22, 2017, 8:30 AM Eli Golding notifications@github.com wrote:
Wow that was fast! Thank you!
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/KyleAMathews/element-resize-event/pull/18#issuecomment-288436402, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEVh2-a4VLJJi87sMch36B3K3ZRvFKrks5roT6BgaJpZM4MlXjF .
Fixes #17
In #14 the
requestFrame
andcancelFrame
functions were moved into the global scope, sowindow
is now undefined when requiring in node. Previously they were created in theexport
function which uses a reference tothis
aswindow
. Doing the same thing inrequestFrame
andcancelFrame
fixes this problem.