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.
2 parents d899797 + 3d89cd4 commit 9e53d4fCopy full SHA for 9e53d4f
template/_footer.js
@@ -8,12 +8,9 @@ if (typeof define === 'function' && define.amd) {
8
define('raven', [], function() {
9
return Raven;
10
});
11
-} else if (typeof module === 'object') {
+} else if (typeof module === 'object' && module.exports) {
12
// browserify
13
module.exports = Raven;
14
-} else if (typeof exports === 'object') {
15
- // CommonJS
16
- exports = Raven;
17
}
18
19
})(typeof window !== 'undefined' ? window : this);
0 commit comments