vigetlabs / washi

A simple, backbone inspired view helper.
http://vigetlabs.github.io/washi/docs/washi
MIT License
5 stars 2 forks source link

Better selection #12

Closed nhunzaker closed 9 years ago

nhunzaker commented 9 years ago

I made the ui namespace selections cached, and return chained Washi.$ instances. I also added pluck and invoke. This allows you to do things like:

var text = this.ui.sections.pluck('innerHTML');
this.ui.buttons.invoke('click');
averyvery commented 9 years ago

:+1:

jeremyfrank commented 9 years ago

:+1: