2 * jQuery JavaScript Library v@VERSION
5 * Copyright OpenJS Foundation and other contributors
6 * Released under the MIT license
7 * https://jquery.org/license
11 ( function( global, factory ) {
15 if ( typeof module === "object" && typeof module.exports === "object" ) {
17 // For CommonJS and CommonJS-like environments where a proper `window`
18 // is present, execute the factory and get jQuery.
19 // For environments that do not have a `window` with a `document`
20 // (such as Node.js), expose a factory as module.exports.
21 // This accentuates the need for the creation of a real `window`.
22 // e.g. var jQuery = require("jquery")(window);
23 // See ticket trac-14549 for more info.
24 module.exports = global.document ?
25 factory( global, true ) :
28 throw new Error( "jQuery requires a window with a document" );
36 // Pass this if window is not defined yet
37 } )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
42 // build.js inserts compiled jQuery here