Skip to content

Commit 59d28c2

Browse files
committed
chore(build): Update the build output files.
1 parent 20e6246 commit 59d28c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/VirtualList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var VirtualList = function VirtualList(options) {
7070
_this.refreshState = _this.refreshState.bind(_this);
7171

7272
// if requestAnimationFrame is available, use it to throttle refreshState
73-
if (window && 'requestAnimationFrame' in window) {
73+
if (typeof window !== 'undefined' && 'requestAnimationFrame' in window) {
7474
_this.refreshState = (0, _throttleWithRAF2.default)(_this.refreshState);
7575
}
7676
return _this;

0 commit comments

Comments
 (0)