Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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 10 years ago by bill

Milestone: tbd1.4
Owner: set to bill
Status: newassigned

OK, thanks, will fix.

comment:2 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [20301]) Tree code size reduction, thanks Les. Fixes #9989 !strict.

comment:3 Changed 10 years ago by bill

Type: enhancementtask

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.