Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vendor/detectElementResize: fix window check for SSR (#945)
'this' is undefined at this point, so you will get errors like `Cannot read property 'requestAnimationFrame' of undefined` when assigning to variable `raf` on the server.
- Loading branch information