#9989 closed task (fixed)
Tree code size reduction
Reported by: | Les | Owned by: | bill |
---|---|---|---|
Priority: | low | Milestone: | 1.4 |
Component: | Dijit | Version: | 1.3.2 |
Keywords: | dijit.Tree | Cc: | |
Blocked By: | Blocking: |
Description
This Tree code fragment can be reduced b/c dojo.removeClass now accepts arrays.
dojo.forEach(styles, function(s){ dojo.removeClass(this.expandoNode, s); }, this );
New code:
dojo.removeClass(this.expandoNode, styles);
Change History (3)
comment:1 Changed 11 years ago by
Milestone: | tbd → 1.4 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 11 years ago by
Type: | enhancement → task |
---|
seems like these aren't really enhancements from the users' point of view, labeling as tasks instead
Note: See
TracTickets for help on using
tickets.
OK, thanks, will fix.