mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ee10dbb680
We've removed the ability to directly reference JS and CSS files for form fields and other SilverStripe features in favour of a common bundle built by Webpack. The logical next step is to make the framework module free of frontend dependencies, which should simplify its operation, and avoid another time intensive "npm install" on a module.
9 lines
266 B
JavaScript
9 lines
266 B
JavaScript
/**
|
|
* 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;
|