jQuery 1.0.4 New Wave Javascript(js源文件)

2020-05-19 07:32:46易采站长站整理

            return this;
        return this.set( this.stack.pop() );
    },
    find: function(t) {
        return this.pushStack( jQuery.map( this, function(a){
            return jQuery.find(t,a);
        }), arguments );
    },
    clone: function(deep) {
        return this.pushStack( jQuery.map( this, function(a){
            return a.cloneNode( deep != undefined ? deep : true );
        }), arguments );
    },

    filter: function(t) {
        return this.pushStack(
            t.constructor == Array &&
            jQuery.map(this,function(a){
                for ( var i = 0; i < t.length; i++ )
                    if ( jQuery.filter(t[i],[a]).r.length )
                        return a;
                return null;
            }) ||
            t.constructor == Boolean &&
            ( t ? this.get() : [] ) ||
            typeof t == “function” &&
            jQuery.grep( this, t ) ||
            jQuery.filter(t,this).r, arguments );
    },

    not: function(t) {
        return this.pushStack( typeof t == “string” ?