Update fuse.Object.each method to throw a TypeError when the specified function is not callable.
Reported by Joe Gornick | March 6th, 2011 @ 10:17 PM
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.
Comments and changes to this ticket
-
Joe Gornick March 6th, 2011 @ 10:38 PM
- State changed from new to discuss
- Tag cleared.
-
John-David Dalton March 14th, 2011 @ 01:29 AM
- State changed from discuss to open
We should also change the
throw $break
intoreturn false
.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.