Build: migrate grunt authors to a custom script
[jquery.git] / src / wrapper.js
blobce7637c631349a8ddb1960d62010c53a9a9f3c4e
1 /*!
2 * jQuery JavaScript Library v@VERSION
3 * https://jquery.com/
5 * Copyright OpenJS Foundation and other contributors
6 * Released under the MIT license
7 * https://jquery.org/license
9 * Date: @DATE
11 ( function( global, factory ) {
13 "use strict";
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 module.exports = factory( global, true );
20 } else {
21 factory( global );
24 // Pass this if window is not defined yet
25 } )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
27 "use strict";
29 if ( !window.document ) {
30 throw new Error( "jQuery requires a window with a document" );
33 // @CODE
34 // build.js inserts compiled jQuery here
36 return jQuery;
38 } );