CodeForge QQ客服 CodeForge 400电话 客服电话 4006316121
首页 » 源代码 » » jquery-1.12.4.js

jquery-1.12.4.js ( 文件浏览 )

文件源自:
源码简介:...
  • DevPython12 发布于2018-03-07
  • 浏览次数:0
  • 下载次数:0
  • 下载需 1 积分
  • 侵权举报
			/*!
 * jQuery JavaScript Library v1.12.4
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2016-05-20T17:17Z
 */

(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`
		// (such as Node.js), expose a factory as module.exports.
		// This accentuates the need for the creation of a real `window`.
		// e.g. var jQuery = require("jquery")(window);
		// See ticket #14549 for more info.
		module.exports = global.document ?
			factory( global, true ) :
			function( w ) {

				if ( !w.document ) {

					throw new Error( "jQuery requires a window with a document" );
				
}
				return factory( w );
			
};
	
} else {

		factory( global );
	
}

// Pass this if window is not defined yet

}(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";
var deletedIds = [];

var document = window.document;

var slice = deletedIds.slice;

var concat = deletedIds.concat;

var push = deletedIds.push;

var indexOf = deletedIds.indexOf;

var class2type = {

};

var toString = class2type.toString;

var hasOwn = class2type.hasOwnProperty;

var support = {

};



var
	version = "1.12.4",

	// Define a local copy of jQuery
	jQuery = function( selector, context ) {


		// The jQuery object is actually just the init constructor 'enhanced'
		// Need init if jQuery is called (just allow error to be thrown if not included)
		return new jQuery.fn.init( selector, context );
	
},

	// Support: Android<4.1, IE<9
	// Make sure we trim BOM and NBSP
	rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,

	// Matches dashed string for camelizing
	rmsPrefix = /^-ms-/,
	rdashAlpha = /-([\da-z])/gi,

	// Used by jQuery.camelCase as callback to replace()
	fcamelCase = function( all, letter ) {

		return letter.toUpperCase();
	
};

jQuery.fn = jQuery.prototype = {


	// The current version of jQuery being used
	jquery: version,

	constructor: jQuery,

	// Start with an empty selector
	selector: "",

	// The default length of a jQuery object is 0
	length: 0,

	toArray: function() {

		return slice.call( this );
	
},

	// Get the Nth element in the matched element set OR
	// Get the whole matched element set as a clean array
	get: function( num ) {

		return num != null ?

			// Return just the one element from the set
			( num < 0 ? this[ num + this.length ] : this[ num ] ) :

			// Return all the elements in a clean array
			slice.call( this );
	
},

	// Take an array of elements and push it onto the stack
	// (returning the new matched element set)
	pushStack: function( elems ) {


		// Build a new jQuery matched element set
		var ret = jQuery.merge( this.constructor(), elems );

		// Add the old object onto the stack (as a reference)
		ret.prevObject = this;
		ret.context = this.context;

		// Return the newly-formed element set
		return ret;
	
},

	// Execute a callback for every element in the matched set.
	each: function( callback ) {

		return jQuery.each( this, callback );
	
},

	map: function( callback ) {

		return this.pushStack( jQuery.map( this, function( elem, i ) {

			return callback.call( elem, i, elem );
		
} ) );
	
},

	slice: function() {

		return this.pushStack( slice.apply( this, arguments ) );
	
},

	first: function() {

		return this.eq( 0 );
	
},

	last: function() {

		return this.eq( -1 );
	
},

	eq: function( i ) {

		var len = this.length,
			j = +i + ( i < 0 ? len : 0 );
		return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
	
},

	end: function() {

		return this.prevObject || this.constructor();
	
},

	// For internal use only.
	// Behaves like an Array's method, not like a jQuery method.
	push: push,
	sort: deletedIds.sort,
	splice: deletedIds.splice

};

jQuery.extend = jQuery.fn.extend = function() {

	var src, copyIsArray, copy, name, options, clone,
		target = arguments[ 0 ] || {

},
		i = 1,
		length = arguments.length,
		deep = false;

	// Handle a deep copy situation
	if ( typeof target === "boolean" ) {

		deep = target;

		// skip the boolean and the target
		target = arguments[ i ] || {

};
		i++;
	
}

	// Handle case when target is a string or something (possible in deep copy)
	if ( typeof target !== "object" && !jQuery.isFunction( target ) ) {

		target = {

};
	
}

	// extend jQuery itself if only one argument is passed
	if ( i === length ) {

		target = this;
		i--;
	
}

	for ( ; i < length; i++ ) {


		// Only deal with non-null/undefined values
		if ( ( options = arguments[ i ] ) != null ) {


			// Extend the base object
			for ( name in options ) {

				src = target[ name ];
				copy = options[ name ];

				// Prevent never-ending loop
				if ( target === copy ) {

					continue;
				
}

				// Recurse if we're merging plain objects or arrays
				if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
					( copyIsArray = jQuery.isArray( copy ) ) ) ) {


					if ( copyIsArray ) {

						copyIsArray = false;
						clone = src && jQuery.isArray( src ) ? src : [];

					
} else {

						clone = src && jQuery.isPlainObject( src ) ? src : {

};
					
}

					// Never move original objects, clone them
					target[ name ] = jQuery.extend( deep, clone, copy );

				// Don't bring in undefined values
				
} else if ( copy !== undefined ) {

					target[ name ] = copy;
				
}
			
}
		
}
	
}

	// Return the modified object
	return target;

};

jQuery.extend( {


	// Unique for each copy of jQuery on the page
	expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),

	// Assume jQuery is ready without the ready module
	isReady: true,

	error: function( msg ) {

		throw new Error( msg );
	
},

	noop: function() {

},

	// See test/unit/core.js for details concerning isFunction.
	// Since version 1.3, DOM methods and functions like alert
	// aren't supported. They return false on IE (#2968).
	isFunction: function( obj ) {

		return jQuery.type( obj ) === "function";
	
},

	isArray: Array.isArray || function( obj ) {

		return jQuery.type( obj ) === "array";
	
},

	isWindow: function( obj ) {

		/* jshint eqeqeq: false */
		return obj != null && obj == obj.window;
	
},

	isNumeric: function( obj ) {


		// parseFloat NaNs numeric-cast false positives (null|true|false|"")
		// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
		// subtraction forces infinities to NaN
		// adding 1 corrects loss of precision from parseFloat (#15100)
		var realStringObj = obj && obj.toString();
		return !jQuery.isArray( obj ) && ( realStringObj - parseFloat( realStringObj ) + 1 ) >= 0;
	
},

	isEmptyObject: function( obj ) {

		var name;
		for ( name in obj ) {

			return false;
		
}
		return true;
	
},

	isPlainObject: function( obj ) {

		var key;

		// Must be an Object.
		// Because of IE, we also have to check the presence of the constructor property.
		// Make sure that DOM nodes and window objects don't pass through, as well
		if ( !obj || jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {

			return false;
		
}

		try {


			// Not own constructor property must be Object
			if ( obj.constructor &&
				!hasOwn.call( obj, "constructor" ) &&
				!hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {

				return false;
			
}
		
} catch ( e ) {


			// IE8,9 Will throw exceptions on certain host objects #9897
			return false;
		
}

		// Support: IE<9
		// Handle iteration over inherited properties before own properties.
		if ( !support.ownFirst ) {

			for ( key in obj ) {

				return hasOwn.call( obj, key );
			
}
		
}

		// Own properties are enumerated firstly, so to speed up,
		// if last one is own, then all properties are own.
		for ( key in obj ) {

}

		return key === undefined || hasOwn.call( obj, key );
	
},

	type: function( obj ) {

		if ( obj == null ) {

			return obj + "";
		
}
		return typeof obj === "object" || typeof obj === "function" ?
			class2type[ toString.call( obj ) ] || "object" :
			typeof obj;
	
},

	// Workarounds based on findings by Jim Driscoll
	// http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
	globalEval: function( data ) {

		if ( data && jQuery.trim( data ) ) {


			// We use execScript on Internet Explorer
			// We use an anonymous function so that context is window
			// rather than jQuery in Firefox
			( window.execScript || function( data ) {

				window[ "eval" ].call( window, data ); // jscs:ignore requireDotNotation
			
} )( data );
		
}
	
},

	// Convert dashed to camelCase; used by the css and data modules
	// Microsoft forgot to hump their vendor prefix (#9572)
	camelCase: function( string ) {

		return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
	
},

	nodeName: function( elem, name ) {

		return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
	
},

	each: function( obj, callback ) {

		var length, i = 0;

		if ( isArrayLike( obj ) ) {

			length = obj.length;
			for ( ; i < length; i++ ) {

				if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {

					break;
				
}
			
}
		
} else {

			for ( i in obj ) {

				if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {

					break;
				
}
			
}
		
}

		return obj;
	
},

	// Support: Android<4.1, IE<9
	trim: function( text ) {

		return text == null ?
			"" :
			( text + "" ).replace( rtrim, "" );
	
},

	// results is for internal usage only
	makeArray: function( arr, results ) {

		var ret = results || [];

		if 
...
...
(文件超长,未完全显示,请下载后阅读剩余部分)
			
...
展开> <收缩

下载源码到电脑,阅读使用更方便

1 积分

快速下载
还剩0行未阅读,继续阅读
Ʋ

源码文件列表

温馨提示: 点击源码文件名可预览文件内容哦 ^_^
...
名称 大小 修改日期
CraftVGames.iml281.00 B11-09-17 21:51
modules.xml274.00 B11-09-17 21:51
workspace.xml12.77 kB11-09-17 21:56
bootstrap-theme.css22.08 kB19-01-15 09:03
bootstrap-theme.css.map42.32 kB19-01-15 08:32
bootstrap-theme.min.css19.50 kB19-01-15 09:03
bootstrap.css138.10 kB19-01-15 09:03
bootstrap.css.map370.81 kB19-01-15 08:32
bootstrap.min.css114.40 kB19-01-15 09:03
sticky-footer-navbar.css693.00 B14-08-17 21:30
style.css63.00 B11-02-15 09:16
glyphicons-halflings-regular.eot19.66 kB18-01-15 13:38
glyphicons-halflings-regular.svg106.19 kB18-01-15 13:38
glyphicons-halflings-regular.ttf44.34 kB18-01-15 13:38
glyphicons-halflings-regular.woff22.88 kB18-01-15 13:38
glyphicons-halflings-regular.woff217.61 kB18-01-15 13:38
jquery-1.12.4.js297.30 kB26-07-17 23:28
jquery-3.2.1.min.js84.63 kB22-06-17 23:47
bootstrap.js65.17 kB19-01-15 09:03
bootstrap.min.js34.62 kB19-01-15 09:03
ini.js151.00 B11-02-15 08:46
Thumbs.db20.00 kB06-08-17 14:52
ui-bg_diagonals-thick_18_b81900_40x40.png418.00 B11-02-15 05:40
ui-bg_diagonals-thick_20_666666_40x40.png312.00 B11-02-15 05:40
ui-bg_flat_10_000000_40x100.png205.00 B11-02-15 05:40
ui-bg_glass_100_f6f6f6_1x400.png262.00 B11-02-15 05:40
ui-bg_glass_100_fdf5ce_1x400.png348.00 B11-02-15 05:40
ui-bg_glass_65_ffffff_1x400.png207.00 B11-02-15 05:40
ui-bg_gloss-wave_35_f6a828_500x100.png5.68 kB11-02-15 05:40
ui-bg_highlight-soft_100_eeeeee_1x100.png278.00 B11-02-15 05:40
ui-bg_highlight-soft_75_ffe45c_1x100.png328.00 B11-02-15 05:40
ui-icons_222222_256x240.png6.76 kB11-02-15 05:40
ui-icons_228ef1_256x240.png4.44 kB11-02-15 05:40
ui-icons_ef8c08_256x240.png4.44 kB11-02-15 05:40
ui-icons_ffd27a_256x240.png4.44 kB11-02-15 05:40
ui-icons_ffffff_256x240.png6.15 kB11-02-15 05:40
index.html30.97 kB11-02-15 05:40
jquery-ui.css34.52 kB11-02-15 05:40
jquery-ui.js458.36 kB11-02-15 05:40
jquery-ui.min.css29.46 kB11-02-15 05:40
jquery-ui.min.js233.95 kB11-02-15 05:40
jquery-ui.structure.css17.60 kB11-02-15 05:40
jquery-ui.structure.min.css14.42 kB11-02-15 05:40
jquery-ui.theme.css17.01 kB11-02-15 05:40
jquery-ui.theme.min.css13.54 kB11-02-15 05:40
jquery.anexsoft-validator.js11.27 kB11-02-15 09:00
npm.js484.00 B19-01-15 08:32
bd_clase.php233.00 B07-08-17 22:08
companias_controlador.php1.56 kB15-08-17 01:27
generos_controlador.php1.27 kB15-08-17 02:19
modos_juegos_controlador.php1.39 kB15-08-17 10:05
modos_perspectiva_controlador.php1.45 kB15-08-17 10:18
index.php352.00 B08-08-17 01:08
index_genero.php349.00 B15-08-17 01:56
index_modo_juego.php360.00 B15-08-17 02:26
companias_modelo.php1.76 kB14-08-17 23:54
generos_modelo.php1.44 kB15-08-17 01:28
modos_juegos_modelo.php1.59 kB15-08-17 02:47
modos_perspectiva_modelo.php1.82 kB15-08-17 11:00
companias.php1.47 kB14-08-17 23:18
companias_form.php2.61 kB15-08-17 00:13
footer.php213.00 B14-08-17 21:30
generos.php1.18 kB15-08-17 01:59
generos_form.php1.44 kB15-08-17 11:06
header.php5.75 kB15-08-17 02:32
modos_juego.php1.25 kB15-08-17 02:52
modos_juego_form.php1.48 kB15-08-17 02:34
<images>0.00 B28-02-18 20:27
<jquery-ui>0.00 B28-02-18 20:27
<css>0.00 B28-02-18 20:26
<fonts>0.00 B28-02-18 20:26
<jquery>0.00 B28-02-18 20:26
<js>0.00 B28-02-18 20:26
<companias>0.00 B28-02-18 20:27
<generos>0.00 B28-02-18 20:27
<modos_juego>0.00 B28-02-18 20:27
<.idea>0.00 B28-02-18 20:26
<assets>0.00 B28-02-18 20:26
<bd>0.00 B28-02-18 20:27
<controllers>0.00 B28-02-18 20:27
<libs>0.00 B06-08-17 15:44
<models>0.00 B28-02-18 20:27
<uploads>0.00 B06-08-17 15:44
<views>0.00 B28-02-18 20:27
<CraftVGames>0.00 B28-02-18 20:27
Ʋ

jquery-1.12.4.js (588.44 kB)

需要 1 积分
您持有 积分

CodeForge积分(原CF币)全新升级,功能更强大,使用更便捷,不仅可以用来下载海量源代码马上还可兑换精美小礼品了 了解更多

您的积分不足

支付宝优惠套餐快速获取 30 积分

订单支付完成后,积分将自动加入到您的账号。以下是优惠期的人民币价格,优惠期过后将恢复美元价格。

更多付款方式:网银PayPal

上传代码,免费获取

您本次下载所消耗的积分将转交上传作者。

同一源码,30天内重复下载,只扣除一次积分。

登录 CodeForge

还没有CodeForge账号? 立即注册
关注微博
联系客服

Switch to the English version?

Yes
CodeForge 英文版
No
CodeForge 中文版

完善个人资料,获价值¥30元积分奖励!

^_^"呃 ...

Sorry!这位大神很神秘,未开通博客呢,请浏览一下其他的吧
好的