jQuery 1.0.2

2020-05-23 06:10:44易采站长站整理

            “*=”: “z && z.indexOf(m[4])>=0”,
            “”: “z”
        },
        “[“: “jQuery.find(m[2],a).length”
    },
    token: [
        “..|/..”, “a.parentNode”,
        “>|/”, “jQuery.sibling(a.firstChild)”,
        “+”, “jQuery.sibling(a).next”,
        “~”, function(a){
            var r = [];
            var s = jQuery.sibling(a);
            if ( s.n > 0 )
                for ( var i = s.n; i < s.length; i++ )
                    r.push( s[i] );
            return r;
        }
    ],
    find: function( t, context ) {
        // Make sure that the context is a DOM Element
        if ( context && context.nodeType == undefined )
            context = null;
        // Set the correct context (if none is provided)
        context = context || jQuery.context || document;
        if ( t.constructor != String ) return [t];
        if ( !t.indexOf(“//”) ) {
            context = context.documentElement;
            t = t.substr(2,t.length);
        } else if ( !t.indexOf(“/”) ) {