kitsonk/dojo — comment on commit ba9465fcd1207b12a056a8f91ff76f27d976c6f9
File: parser.js line 586
By wkeese:

Cool. BTW my rationale for the suggesting using a single list for
data-dojo-type and data-dojo-mixin was that it would be convenient for both
your new code (doing the require() call) and also for _getCtor(), which
needs a key to lookup cached values. Currently it seems like _getCtor()
is doing something a little confusing with nested caching, first level
data-dojo-type and second level data-dojo-mixins, and I thought a single
lookup key like "dijit/Dialog,dijit/Mixin1" would be more straightforward.

Of course the counter-argument is that _getCtor() will need to split the
list into the first part and the remainder when there isn't a cached value.

On Wed, Feb 1, 2012 at 7:53 AM, Kitson Kelly <
reply@reply.github.com
> wrote:

> Ok, simplified... Not any further as suggested, yet, as I think that will
> have further knock on to how the `data-dojo-mixins` is handled/should be
> handled and I need to get to sleep!
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/kitsonk/dojo/commit/ba9465fcd1207b12a056a8f91ff76f27d976c6f9#commitcomment-920522
>