Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#8180 closed defect (fixed)

Undefined variable error handling for dojo.declare

Reported by: dylan Owned by: sjmiles
Priority: high Milestone: 1.3
Component: Core Version: 1.2.1
Keywords: Cc:
Blocked By: Blocking:

Description

I don't believe this should work given that i is not defined anywhere, unless I'm missing something:

	if(mixins){
		dojo.forEach(mixins, function(m){
			if(!m){ throw(className + ": mixin #" + i + " is null"); } // It's likely a required module is not loaded
			superclass = dd._delegate(superclass, m);
		});
	}

Change History (3)

comment:1 Changed 11 years ago by dante

ha. always wondered why it always said 'mixin #undefined is null' - fixed in [15910]

comment:2 Changed 11 years ago by dante

Resolution: fixed
Status: newclosed

comment:3 Changed 10 years ago by Adam Peller

Milestone: tbd1.3

batch move of tickets marked 'tbd' fixed in the 1.3 timeframe

Note: See TracTickets for help on using tickets.