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 6fc3861 + ae5baca commit c7f8840Copy full SHA for c7f8840
template/_footer.js
@@ -1,7 +1,10 @@
1
+// This is being exposed no matter what because there are too many weird
2
+// usecases for how people use Raven. If this is really a problem, I'm sorry.
3
+window.Raven = Raven;
4
+
5
// Expose Raven to the world
6
if (typeof define === 'function' && define.amd) {
7
// AMD
- window.Raven = Raven;
8
define('raven', [], function() {
9
return Raven;
10
});
@@ -11,9 +14,6 @@ if (typeof define === 'function' && define.amd) {
11
14
} else if (typeof exports === 'object') {
12
15
// CommonJS
13
16
exports = Raven;
-} else {
- // Everything else
17
}
18
19
})(typeof window !== 'undefined' ? window : this);
0 commit comments