kitsonk/dojo — comment on commit c3db298997eae6d7ef542554c6cbfd3facec0519
File: parser.js line 620
By wkeese:

Yeah, seems like a string is easier, although probably that recursion in _getCtor() is unnecessary, you could do:

```javascript
function _getCtor(/*String*/ types){
if(!_ctorMap[types]){
var mixins = darray.map(types.split(","), function(t){
return (dlang.getObject(t) || (~type.indexOf('/') && require(t));
}, type = mixins.shift();
_ctorMap[types] = mixins.length ?
(type.createSubclass ? type.createSubclass(mixins) : type.extend.apply(type, mixins) ) : type;
}
return _ctorMap[types];
}
```

Hmm, maybe that's not any shorter.