jeremyruppel / walrus

A bolder kind of mustache
http://documentup.com/jeremyruppel/walrus/
MIT License
215 stars 10 forks source link

Use grouped patterns for ATTR and HELP #6

Open jeremyruppel opened 12 years ago

jeremyruppel commented 12 years ago

Right now, these tokens are separate from the member they denote, which is not a huge issue but is kind of weird. One could potentially write {{ : each @ item do }}, which starts to become really unreadable.

It'd be nice to group the member name into ATTR and HELP, and I suspect that this would even give us a bit of a speed increase.