15 lines
329 B
JavaScript
15 lines
329 B
JavaScript
/**
|
|
* require.js plugin
|
|
*
|
|
* Automatically wrap define/require callbacks. (Experimental)
|
|
*/
|
|
;(function(window, Raven) {
|
|
'use strict';
|
|
|
|
if (typeof define === 'function' && define.amd) {
|
|
window.define = Raven.wrap({deep: false}, define);
|
|
window.require = Raven.wrap({deep: false}, require);
|
|
}
|
|
|
|
}(window, window.Raven));
|