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 b274a5a commit 4907801Copy full SHA for 4907801
src/raven.js
@@ -6,7 +6,7 @@
6
var _Raven = window.Raven,
7
hasJSON = !!(typeof JSON === 'object' && JSON.stringify),
8
// Raven can run in contexts where there's no document (react-native)
9
- hasDocument = !isUndefined(document),
+ hasDocument = typeof document !== 'undefined',
10
lastCapturedException,
11
lastEventId,
12
globalServer,
0 commit comments