Thank you, I'll fix it.

Would be even cooler if you would have reported it on the lighthouse bug tracker ;)


On Dec 8, 2008, at 23:24, lgespee wrote:


I discovered two mistakes in the documentation of Element.getFirst()
[http://mootools.net/docs/Element/Element#Element:getFirst] and
Element.getLast() [http://mootools.net/docs/Element/
Element#Element:getLast].

At the "Returns" section of the method description it says:
(mixed) The first sibling Element or null if none found.
and
(mixed) The last sibling Element or null if none found.

However, the method does not return the first/last sibling, it returns
the first/last child of the element on which it's called.
It's a minor mistake, but it means something fundamentally different.

Regards,
Loe Spee

--
Jan - MooTools comitter
twitter/blog: http://kassens.net

Reply via email to