CSS:Selector: Align with 3.x, remove the outer `selector.js` wrapper
[jquery.git] / src / wrapper-esm.js
bloba4574a3fa7e4f1533f6fb9285429e98763354c43
1 /*!
2  * jQuery JavaScript Library v@VERSION
3  * https://jquery.com/
4  *
5  * Copyright OpenJS Foundation and other contributors
6  * Released under the MIT license
7  * https://jquery.org/license
8  *
9  * Date: @DATE
10  */
11 // For ECMAScript module environments where a proper `window`
12 // is present, execute the factory and get jQuery.
13 function jQueryFactory( window, noGlobal ) {
15 if ( typeof window === "undefined" || !window.document ) {
16         throw new Error( "jQuery requires a window with a document" );
19 // @CODE
20 // build.js inserts compiled jQuery here
22 return jQuery;
26 var jQuery = jQueryFactory( window, true );
28 export { jQuery, jQuery as $ };
30 export default jQuery;