default tag
iofjuupasli opened this issue · 1 comments
iofjuupasli commented
The most frequently used tag is div
.
d('.my-class')
same as
d('div.my-class')
So can div
be default tag if another is not provided?
af commented
I don't necessarily like the tagName being implicit, but I suppose it is a completely optional feature (and should be easy to add). Some folks are probably used to this from jade (and other templating systems) as well. I'll take a look at adding this sometime in the next week. Thanks for the suggestion!