mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
217cbb7109
Conflicts: Gruntfile.js README.md src/ajax.js src/ajax/xhr.js src/attributes.js src/core.js src/css.js src/data.js src/effects.js src/event.js src/manipulation.js src/offset.js src/selector-native.js src/traversing.js test/unit/core.js test/unit/data.js
41 lines
1.1 KiB
JavaScript
41 lines
1.1 KiB
JavaScript
/*!
|
|
* jQuery JavaScript Library v@VERSION
|
|
* http://jquery.com/
|
|
*
|
|
* Includes Sizzle.js
|
|
* http://sizzlejs.com/
|
|
*
|
|
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
|
|
* Released under the MIT license
|
|
* http://jquery.org/license
|
|
*
|
|
* Date: @DATE
|
|
*/
|
|
|
|
(function ( window, factory ) {
|
|
|
|
if ( typeof module === "object" && typeof module.exports === "object" ) {
|
|
// Expose a jQuery-making factory as module.exports in loaders that implement the Node
|
|
// module pattern (including browserify).
|
|
// This accentuates the need for a real window in the environment
|
|
// e.g. var jQuery = require("jquery")(window);
|
|
module.exports = function( w ) {
|
|
w = w || window;
|
|
if ( !w.document ) {
|
|
throw new Error("jQuery requires a window with a document");
|
|
}
|
|
return factory( w );
|
|
};
|
|
} else {
|
|
factory( window );
|
|
}
|
|
|
|
// Pass this, window may not be defined yet
|
|
}(this, function ( window ) {
|
|
|
|
// Can't do this because several apps including ASP.NET trace
|
|
// the stack via arguments.caller.callee and Firefox dies if
|
|
// you try to trace through "use strict" call chains. (#13335)
|
|
// Support: Firefox 18+
|
|
//"use strict";
|