DOH, yes

thanks for the catch, my bad for doing a half-hearted tweak on another
persons code.  I definitely confused slice and splice when putting
that on there!

On Sep 6, 4:28 pm, "John Resig" <[EMAIL PROTECTED]> wrote:
> > line - 903
> > old: var ele =
> > jQuery(this.col.root.headerRows[0]).children().eq(this.col.index);
> > new: var ele =
> > jQuery(this.col.root.headerRows[0]).children().slice(this.col.index,
> > 1);
>
> This would actually be:
> var ele = jQuery(this.col.root.headerRows[0]).children().slice(this.col.index,
> this.col.index+1);
>
> .slice() takes two indices - as opposed to .splice() (which we don't
> implement) which takes an indice and an offset. just FYI :-)
>
> --John

Reply via email to