js/JSintellisense/jquery-1.2.6-intellisense.js
(开头部分) 133KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
(function(){
/*
* jQuery 1.2.6 intellisense updated by Mustafa OZCAN
* http://www.mustafaozcan.net
* Base schema of jQuery 1.2.5 - http://lancefisher.net/blog/Default.aspx
* jQuery 1.2.6 - New Wave Javascript
*
* Copyright (c) 2008 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $
* $Rev: 5685 $
*/
// Map over jQuery in case of overwrite
var _jQuery = window.jQuery,
// Map over the $ in case of overwrite
_$ = window.$;
var jQuery = window.jQuery = window.$ = function( selector, context ) {
///<summary>
/// This function accepts a string containing a CSS selector which is then used to match a set of elements.
///</summary>
///<param name="selector">
/// 1. An expression to search with.
/// 2. html - Create DOM elements on-the-fly from the provided String of raw HTML.
/// 3. elements - Wrap jQuery functionality around a single or multiple DOM Element(s).
/// 4. callback - A shorthand for $(document).ready().
///</param>
///<param name="context" optional="true">(optional) A DOM Element, Document or jQuery to use as context</param>
///<returns type="jQuery" />
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context );
};
// A simple way to check for HTML strings or ID strings
// (both of which we optimize for)
var quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,
// Is it a simple selector
isSimple = /^.[^:#\[\.]*$/,
// Will speed up references to undefined, and allows munging its name.
undefined;
jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
///<summary>Internal function</summary>
///<returns type="jQuery" />
// Make sure that a selection was provided
selector = selector || document;
// Handle $(DOMElement)
if ( selector.nodeType ) {
this[0] = selector;
this.length = 1;
return this;
后面还有 4013 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
