diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/outro.js | 2 | ||||
-rw-r--r-- | src/wrapper.js (renamed from src/intro.js) | 13 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/outro.js b/src/outro.js deleted file mode 100644 index d792ffb58..000000000 --- a/src/outro.js +++ /dev/null @@ -1,2 +0,0 @@ -return jQuery; -})); diff --git a/src/intro.js b/src/wrapper.js index 291849526..4ad7776d1 100644 --- a/src/intro.js +++ b/src/wrapper.js @@ -1,3 +1,4 @@ +/*jshint unused:false */ /*! * jQuery JavaScript Library v@VERSION * https://jquery.com/ @@ -11,10 +12,10 @@ * * Date: @DATE */ - -(function( global, factory ) { +( function( global, factory ) { if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper `window` // is present, execute the factory and get jQuery. // For environments that do not have a `window` with a `document` @@ -35,10 +36,16 @@ } // Pass this if window is not defined yet -}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { +}( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { // Support: Firefox 18+ // Can't be in strict mode, several libs including ASP.NET trace // the stack via arguments.caller.callee and Firefox dies if // you try to trace through "use strict" call chains. (#13335) //"use strict"; + +// @CODE +// build.js inserts compiled jQuery here + +return jQuery; +} ) ); |