Skip to content

Commit 1e2a8a5

Browse files
committed
Require.js plugin
Fixes #102
1 parent 8f14a9f commit 1e2a8a5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugins/require.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
;(function(window, Raven) {
2+
if (typeof define === 'function' && define.amd) {
3+
window.define = Raven.wrapArguments(define);
4+
window.require = Raven.wrapArguments(require);
5+
}
6+
}(this, Raven));

0 commit comments

Comments
 (0)