DOH!

I've forgotten to end function with semicolon:

jQuery.fn.prevUntil = function(expr) {
        var match = [];
        this.each(function(){
                var n = this;
                while (n = n.previousSibling) {
                        if (n.nodeType == 1) match.unshift(n);
                };
        });
        return this.pushStack(jQuery.multiFilter(expr, match));
};

jQuery.fn.nextUntil = function(expr) {
        var match = [];
        this.each(function(){
                var n = this;
                while (n = n.nextSibling) {
                        if (n.nodeType == 1) match.push(n);
                };
        });
        return this.pushStack(jQuery.multiFilter(expr, match));
};

And it's working now. I wonder why...
On Oct 31, 12:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Eric, it didn't help. :(
>
> Demo is here:http://riddle.pl/stuff/plugins/
> I stripped down everything to jQuery + plugins script.
>
> --
> Piotr Petrushttp://riddle.pl/

Reply via email to