We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8591f48 commit 5854e6dCopy full SHA for 5854e6d
index.js
@@ -4,6 +4,9 @@ let _throttle = require('lodash.throttle')
4
5
let supportsPassive = false
6
try {
7
+ if (typeof window === 'undefined') {
8
+ return;
9
+ }
10
var opts = Object.defineProperty({}, 'passive', {
11
get: function() {
12
supportsPassive = true
0 commit comments