BorisMoore / jsviews

Interactive data-driven views, MVVM and MVP, built on top of JsRender templates
http://www.jsviews.com/#jsviews
MIT License
857 stars 130 forks source link

view.get(true) should return the first inner (child) view (of any type) #322

Closed BorisMoore closed 8 years ago

BorisMoore commented 9 years ago

This is consistent with current APIs which are:

$.view("#container", true) returns the first inner view under #container, of any type.

view.get(true, "foo") returns the first inner/child view of type "foo". $.view("#container", true, "foo") returns the first inner view under #container, of type "foo".

(See discussion: https://github.com/BorisMoore/jsviews/issues/100#issuecomment-144892503)

BorisMoore commented 8 years ago

Fixed in commit 71