Ticket #4122 (new defect)
dijit.WidgetSet methods broken or mis-designed
| Reported by: | alex | Owned by: | alex |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.0 |
| Component: | Dijit | Version: | 0.9 |
| Severity: | normal | Keywords: | 4alex |
| Cc: | alex |
Description
the methods on dijit.WidgetSet? (and by association, dijit.registry) appear to surface array-like semantics (forEach, filter, etc.), however these methods do not take a scope parameter and do not return an array-like object. Given that many other bread-and-butter Dojo interfaces respect array-like semantics (sometimes going to great length to do so), these methods should probably be re-designed and a toArray() method (or better, basic array behavior on the base class itself) should be added to the class.
Change History
Note: See
TracTickets for help on using
tickets.