Skip to content

Commit 190d9e6

Browse files
Don't call noConflict by default when loaded via AMD.
Calling noConflict() makes it a pain to load the plugins, which depend on the global variable (which is why jQuery's AMD handler, for example, doesn't do that). For those that want noConflict(), that can be done with a wrapper (see http://requirejs.org/docs/jquery.html#noconflictmap)
1 parent 865c081 commit 190d9e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/_footer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ window.Raven = Raven;
33

44
// AMD
55
if (typeof define === 'function' && define.amd) {
6-
define('raven', [], function() { return Raven.noConflict(); });
6+
define('raven', [], function() { return Raven; });
77
}
88

99
})(window);

0 commit comments

Comments
 (0)