/*
* This file has been commented to support Visual Studio Intellisense.
* You should not use this file at runtime inside the browser--it is only
* intended to be used only for design-time IntelliSense. Please use the
* standard jQuery library for all production use.
*
* Comment version: 1.3.2b
*/
/*
* jQuery JavaScript Library v1.3.2
* http://jquery.com/
*
* Copyright (c) 2009 John Resig
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
* Revision: 6246
*/
(function(){
var
// Will speed up references to window, and allows munging its name.
window = this,
// Will speed up references to undefined, and allows munging its name.
undefined,
// Map over jQuery in case of overwrite
_jQuery = window.jQuery,
// Map over the $ in case of overwrite
_$ = window.$,
jQuery = window.jQuery = window.$ = function(selector, context) {
/// <summary>
/// 1: $(expression, context) - This function accepts a string containing a CSS selector which is then used to match a set of elements.
/// 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().
/// </summary>
/// <param name="selector" type="String">
/// 1: expression - An expression to search with.
/// 2: html - A string of HTML to create on the fly.
/// 3: elements - DOM element(s) to be encapsulated by a jQuery object.
/// 4: callback - The function to execute when the DOM is ready.
/// </param>
/// <param name="context" type="jQuery">
/// 1: context - A DOM Element, Document or jQuery to use as context.
/// </param>
/// <field name="selector" Type="Object">
/// The DOM node context originally passed to jQuery() (if none was passed then context will be equal to the document).
/// </field>
/// <field name="context" Type="String">
/// A selector representing selector originally passed to jQuery().
/// </field>
/// <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)
quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,
// Is it a simple selector
isSimple = /^.[^:#\[\.,]*$/;
jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
/// <summary>
/// 1: $(expression, context) - This function accepts a string containing a CSS selector which is then used to match a set of elements.
/// 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().
/// </summary>
/// <param name="selector" type="String">
/// 1: expression - An expression to search with.
/// 2: html - A string of HTML to create on the fly.
/// 3: elements - DOM element(s) to be encapsulated by a jQuery object.
/// 4: callback - The function to execute when the DOM is ready.
/// </param>
/// <param name="context" type="jQuery">
/// 1: context - A DOM Element, Document or jQuery to use as context.
/// </param>
/// <returns type="jQuery" />
// Make sure that a selection was provided
selector = selector || document;
// Handle $(DOMElement)
if ( selector.nodeType ) {
this[0] = selector;
this.length = 1;
this.context = selector;
return this;
}
// Handle HTML strings
if (typeof selector === "string") {
// Are we dealing with HTML string or an ID?
var match = quickExpr.exec(selector);
// Verify a match, and that no context was specified for #id
if (match && (match[1] || !context)) {
// HANDLE: $(html) -> $(array)
if (match[1])
selector = jQuery.clean([match[1]], context);
// HANDLE: $("#id")
else {
var elem = document.getElementById(match[3]);
// Handle the case where IE and Opera return items
// by name instead of ID
if (elem && elem.id != match[3])
return jQuery().find(selector);
// Otherwise, we inject the element directly into the jQuery object
var ret = jQuery(elem || []);
ret.context = document;
ret.selector = selector;
return ret;
}
// HANDLE: $(expr, [context])
// (which is just equivalent to: $(content).find(expr)
} else
return jQuery(context).find(selector);
// HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) )
return jQuery( document ).ready( selector );
// Make sure that old selector state is passed along
if ( selector.selector && selector.context ) {
this.selector = selector.selector;
this.context = selector.context;
}
return this.setArray(jQuery.isArray( selector ) ?
selector :
jQuery.makeArray(selector));
},
// Start with an empty selector
selector: "",
// The current version of jQuery being used
jquery: "1.3.2",
// The number of elements contained in the matched element set
size: function() {
/// <summary>
/// The number of elements currently matched.
/// Part of Core
/// </summary>
/// <returns type="Number" />
return this.length;
},
// Get the Nth element in the matched element set OR
// Get the whole matched element set as a clean array
get: function( num ) {
/// <summary>
/// Access a single matched element. num is used to access the
/// Nth element matched.
/// Part of Core
/// </summary>
/// <returns type="Element" />
/// <param name="num" type="Number">
/// Access the element in the Nth position.
/// </param>
return num == undefined ?
// Return a 'clean' array
Array.prototype.slice.call( this ) :
// Return just the object
this[ num ];
},
// Take an array of elements and push it onto the stack
// (returning the new matched element set)
pushStack: function( elems, name, selector ) {
/// <summary>
/// Set the jQuery object to an array of elements, while maintaining
/// the stack.
/// Part of Core
/// </summary>
/// <returns type="jQuery" />
/// <param name="elems" type="Elements">
/// An array of elements
/// </param>
// Build a new jQuery matched element set
var ret = jQuery( elems );

ss_geng
- 粉丝: 318
最新资源
- 基于Redis数据库实现的高效地理兴趣点爬取与存储系统_支持自定义区域和属性抓取_提供范围查询和属性组合检索_内置性能计算和日志记录功能_用于大规模POI数据管理和空间分析应用_采.zip
- 玩家背包式存储单元插件_支持多货币系统解锁容量空间_跨服数据同步与自定义GUI界面_异步快速加载与Gzip压缩技术优化_用于提供高效稳定的物品存储解决方案_集成GemsEconom.zip
- 基于跳表数据结构实现的轻量级键值存储引擎项目_跳表实现_泛型编程支持多种数据类型_CS架构_多客户端连接_独立数据库管理_插入删除查询文件加载功能_服务器端处理请求_客户端命令操.zip
- 留言板主页项目_包含头部信息展示已有评论数量统计显示所有用户留言内容实现用户间回复互动功能支持留言删除操作添加精确时间戳记录_用于构建一个功能完整的在线交流平台方便用户.zip
- 基于RefaceAppStarterRepository框架的快速应用开发与数据持久化解决方案_轻量级ORM_依赖注入_代码生成_数据库迁移_单元测试_多数据库支持_企业级应用.zip
- 领域驱动设计聚合持久化轻量级解决方案_聚合容器AggregateRepository模式领域事件业务不变性关注点分离_提供一种优雅的聚合持久化实现方式帮助开发者专注于业务逻辑设计无.zip
- 太阳能照明系统_白天太阳能板发电给储能电池充电夜晚自动使用储存的电驱动LED照明_通过太阳能板将光能转化为电能存储在电池中并在夜间自动启动LED照明同时支持人体红外感应智能控制与P.zip
- 一个用于存储和展示前端常用功能代码片段的JavaScript工具库_包含节流防抖函数实现图片懒加载优化方案以及滚动事件处理等核心功能_旨在帮助开发者快速学习和应用这些常见的前端性能.zip
- 广州3日旅游规划图
- NutzDao增强框架_通过注解驱动与Lambda表达式简化数据库操作_实现无需编写DAO实现类即可完成CRUD与复杂查询_支持自动建表与字段映射_审计日志与ID自动生成_自定义S.zip
- 基于C开发的高可用高性能大数据集成分析平台_支持多种数据库和文件数据访问采集解析清洗ETL处理_内置可编写模型的后台统计分析算法与数据可视化互动操作功能_采用统一服务代理或分布式.zip
- 基于Vue3和Vite构建的纯前端多窗口网页操作系统_支持用户系统管理_文件传输存储_多媒体播放_网络服务_离线功能_开源可审查_组件化拓展开发_模拟桌面交互_轻量级NAS体验_专.zip
- 为anime1网站添加收藏夹功能并支持自动存储观看集数的浏览器扩展项目_收藏夹功能实现_自动记录观看进度_仅支持全集连结页面_本地存储技术_用户数据持久化_提升追番体验_JavaS.zip
- 基于GoLang开发的高性能短网址生成与解析服务_自定义66进制编码算法实现极短字符映射_纯文本存储引擎确保数据持久化_无数据库依赖读写性能直接挂钩磁盘IO速度_适用于微博营销和广.zip
- 开源威胁情报自动收集与标准化存储工具_威胁指标IOC自动化抓取多源数据整合CSV格式标准化处理恶意域名IP端口哈希值URL安全分析_用于网络安全团队实时监控威胁情报提升威胁检测效率.zip
- Android平台广播与条件触发任务统一管理框架_JobManager任务调度器_广播接收器注册管理_延迟执行任务队列_多场景触发条件监控_异步任务状态持久化存储_系统资源优化调度.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


