flatiron / plates

Light-weight, logic-less, DSL-free, templates for all javascript environments!
MIT License
831 stars 69 forks source link

Use jQuery selectors to target elements that are mapped data? #87

Closed trusktr closed 11 years ago

trusktr commented 11 years ago

I noticed you have methods like .class() or .where() to target elements with a specific class or with a specific attribute... But what about elements with a specific class inside an element with a specific ID if and only if the element with the ID has a certain attribute?

This is where I think jQuery accels... Maybe you can port over jQuery's selectors as an option for targetting which elements to map data to?

3rd-Eden commented 11 years ago

Closing this, it's a duplicate of #61

Also, FYI they are called CSS selectors not jQuery selectors ;)

trusktr commented 11 years ago

Hehe Yeah true.