silverstripe-framework/admin/client/src/jQuery.js

9 lines
266 B
JavaScript
Raw Normal View History

/**
* This wraps the global jQuery so jQuery can be imported
* like other modules. Once jQuery is updated and managed
* by npm we can get rid of this wrapper.
*/
var jQuery = typeof window.jQuery !== 'undefined' ? window.jQuery : null;
module.exports = jQuery;