Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Update fuse.Object.each method to throw a TypeError when the specified function is not callable.

#128

In fuse.Object.each a TypeError is not thrown whenever you provide an uncallable callback. To match other methods in fuse.Array that supports callbacks, we should also throw a TypeError when the callback is not callable.

Reported by Joe Gornick · March 6th, 2011 @ 10:17 PM

State: open
Milestone: none
Assigned to: John-David Dalton John-David Dalton

Activity

  1. Joe Gornick
    Joe Gornick
    • State changed from new to discuss
    • Tag cleared.

    March 6th, 2011 @ 10:38 PM

  2. John-David Dalton
    John-David Dalton
    • State changed from discuss to open

    We should also change the throw $break into return false.

    March 14th, 2011 @ 01:29 AM

  3. Kit Goncharov

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.