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

首頁 > 開發 > JS > 正文

jQuery 1.0.4 - New Wave Javascript(js源文件)

2024-09-06 12:43:47
字體:
來源:轉載
供稿:網友
代碼如下:
/* prevent execution of jQuery if included more then once */
if(typeof window.jQuery == "undefined") {
/*
 * jQuery 1.0.4 - 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-12-12 15:33:10 -0500 (Tue, 12 Dec 2006) $
 * $Rev: 696 $
 */

// Global undefined variable
window.undefined = window.undefined;

var jQuery = function(a,c) {

    // Shortcut for document ready
    if ( a && typeof a == "function" && jQuery.fn.ready && !a.nodeType && a[0] == undefined ) // Safari reports typeof on DOM NodeLists as a function
        return jQuery(document).ready(a);

    // Make sure that a selection was provided
    a = a || 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
    if ( typeof a  == "string" ) {
        var m = /^[^<]*(<.+>)[^>]*$/.exec(a);
        if ( m ) a = jQuery.clean( [ m[1] ] );
    }

    // Watch for when an array is passed in
    this.set( a.constructor == Array || a.length && a != window && !a.nodeType && a[0] != undefined && a[0].nodeType ?
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 乳山市| 榆林市| 金秀| 金沙县| 慈利县| 日土县| 桐梓县| 弥勒县| 桐城市| 葵青区| 遵义县| 申扎县| 富蕴县| 西乌珠穆沁旗| 财经| 长沙市| 漳州市| 东安县| 荣成市| 张掖市| 石台县| 商洛市| 富阳市| 华蓥市| 社会| 宁陕县| 宝兴县| 阳东县| 铜川市| 木里| 恩施市| 衡东县| 武川县| 台湾省| 贵州省| 穆棱市| 遂宁市| 思茅市| 泊头市| 葫芦岛市| 枝江市|