国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發(fā) > JS > 正文

jQuery 1.0.2

2024-09-06 12:44:48
字體:
供稿:網(wǎng)友
代碼如下:
/* prevent execution of jQuery if included more then once */
if(typeof window.jQuery == "undefined") {
/*
 * jQuery 1.0.2 - New Wave Javascript
 *
 * Copyright (c) 2006 John Resig (jquery.com)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * $Date: 2006-10-09 20:23:18 -0400 (Mon, 09 Oct 2006) $
 * $Rev: 413 $
 */

// Global undefined variable
window.undefined = window.undefined;
jQuery = function(a,c) {

    // Shortcut for document ready (because $(document).each() is silly)
    if ( a && typeof a == "function" && jQuery.fn.ready )
        return jQuery(document).ready(a);

    // Make sure that a selection was provided
    a = a || jQuery.context || document;

    // Watch for when a jQuery object is passed as the selector
    if ( a.jquery )
        return jQuery( jQuery.merge( a, [] ) );

    // Watch for when a jQuery object is passed at the context
    if ( c && c.jquery )
        return jQuery( c ).find(a);

    // If the context is global, return a new object
    if ( window == this )
        return new jQuery(a,c);

    // Handle HTML strings
    var m = /^[^<]*(<.+>)[^>]*$/.exec(a);
    if ( m ) a = jQuery.clean( [ m[1] ] );

    // Watch for when an array is passed in
    this.get( a.constructor == Array || a.length && !a.nodeType && a[0] != undefined && a[0].nodeType ?
        // Assume that it is an array of DOM Elements
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 新安县| 安岳县| 西林县| 广西| 佳木斯市| 阳高县| 怀仁县| 澄迈县| 剑川县| 横峰县| 安国市| 沐川县| 乌恰县| 宿迁市| 互助| 法库县| 鱼台县| 凤山市| 漳浦县| 开江县| 万源市| 新化县| 马山县| 防城港市| 天津市| 苏尼特右旗| 滦平县| 永川市| 广昌县| 青海省| 云阳县| 银川市| 公主岭市| 新乐市| 太和县| 日土县| 曲水县| 延川县| 清远市| 恩施市| 缙云县|