Question that gets straight to the point.
I noticed that Dojo's query module
always returns an array of nodes. Is there a way to customize or adjust it so that
var contentNode = query('#content')[0];
can simply be written as
var contentNode = query('#content');
without that extra [0]
? This becomes quite irritating, especially when dealing with unique Ids.