2009-01-04 23:34:18 +00:00
|
|
|
/*!
|
|
|
|
* jQuery JavaScript Library v@VERSION
|
|
|
|
* http://jquery.com/
|
|
|
|
*
|
2009-12-19 02:23:26 +00:00
|
|
|
* Includes Sizzle.js
|
|
|
|
* http://sizzlejs.com/
|
2012-08-09 02:12:10 +00:00
|
|
|
*
|
2013-01-11 21:08:09 +00:00
|
|
|
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
|
2012-08-09 02:12:10 +00:00
|
|
|
* Released under the MIT license
|
|
|
|
* http://jquery.org/license
|
2009-12-19 02:23:26 +00:00
|
|
|
*
|
2010-12-30 06:34:48 +00:00
|
|
|
* Date: @DATE
|
2009-01-04 23:34:18 +00:00
|
|
|
*/
|
2013-07-04 18:00:26 +00:00
|
|
|
|
2013-11-17 00:06:44 +00:00
|
|
|
(function( global, factory ) {
|
2013-07-04 18:00:26 +00:00
|
|
|
|
|
|
|
if ( typeof module === "object" && typeof module.exports === "object" ) {
|
2013-11-15 22:18:22 +00:00
|
|
|
// For CommonJS and CommonJS-like environments where a proper window is present,
|
|
|
|
// execute the factory and get jQuery
|
|
|
|
// For environments that do not inherently posses a window with a document
|
|
|
|
// (such as Node.js), expose a jQuery-making factory as module.exports
|
|
|
|
// This accentuates the need for the creation of a real window
|
2013-07-04 18:00:26 +00:00
|
|
|
// e.g. var jQuery = require("jquery")(window);
|
2013-11-15 22:18:22 +00:00
|
|
|
// See ticket #14549 for more info
|
2013-11-17 00:06:44 +00:00
|
|
|
module.exports = global.document ?
|
2013-12-20 23:39:16 +00:00
|
|
|
factory( global, true ) :
|
2013-11-15 22:18:22 +00:00
|
|
|
function( w ) {
|
|
|
|
if ( !w.document ) {
|
2013-11-17 00:06:44 +00:00
|
|
|
throw new Error( "jQuery requires a window with a document" );
|
2013-11-15 22:18:22 +00:00
|
|
|
}
|
|
|
|
return factory( w );
|
|
|
|
};
|
2013-07-04 18:00:26 +00:00
|
|
|
} else {
|
2013-11-17 00:06:44 +00:00
|
|
|
factory( global );
|
2013-07-04 18:00:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Pass this, window may not be defined yet
|
2013-12-20 23:39:16 +00:00
|
|
|
}(this, function( window, noGlobal ) {
|
2013-02-01 22:17:39 +00:00
|
|
|
|
|
|
|
// 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";
|