W3C home > Mailing lists > Public > public-webapi@w3.org > April 2008

Re: [Element Traversal LC] access to element by index

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 2 Apr 2008 17:02:04 +0300
Cc: Jonas Sicking <jonas@sicking.cc>, Boris Zbarsky <bzbarsky@mit.edu>
Message-Id: <3ACDB049-226B-428A-A839-5D3B8F08DAED@iki.fi>
To: "Web APIs WG (public)" <public-webapi@w3.org>

On Apr 2, 2008, at 16:50, Henri Sivonen wrote:
>    if (next = current.firstChild) {
>       current = next;
>       continue;
>    }
>    break;


Please disregard that break;. (Left-over from a switch that was  
obscuring the main point of the algorithm.)

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Wednesday, 2 April 2008 14:03:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 April 2008 14:03:01 GMT