[dojo-contributors] what is the raison detre for dojo 2.0.

Karl Tiedt ktiedt at gmail.com
Thu Oct 11 15:35:48 EDT 2012


Bryan,
   I would argue that the Dojo version would be more like

require([
        'dojo/query',
        'dojo/NodeList-dom'
], function(query, NodeListDom){
        query("#foo").addClass('some-class').style({display: "block",
width:"400px"});
});

Unless you really need all the extra packages this is more apples to apples...

-Karl Tiedt


More information about the dojo-contributors mailing list