Skip to content

Commit abb49f2

Browse files
committed
Fix compatability with require.js
Fixes #311
1 parent d2f9c34 commit abb49f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/_footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
if (typeof define === 'function' && define.amd) {
33
// AMD
44
window.Raven = Raven;
5-
define('raven', function(Raven) {
5+
define('raven', [], function() {
66
return Raven;
77
});
88
} else if (typeof module === 'object') {

0 commit comments

Comments
 (0)