Skip to content

Commit cfb3e61

Browse files
committed
Merge pull request #109 from EqualMedia/amd-noconflict
Use Raven.noConflict() when exporting as AMD module
2 parents ebd489c + 26b8175 commit cfb3e61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

template/_footer.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
// Expose Raven to the world
32
window.Raven = Raven;
43

54
// AMD
65
if (typeof define === 'function' && define.amd) {
7-
define('raven', [], function() { return Raven; });
6+
define('raven', [], function() { return Raven.noConflict(); });
87
}
98

109
})(window);

0 commit comments

Comments
 (0)