Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mobmad
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
mobmad
14y ago
Also, by using the procedure described in the post you don't need to have a DOM set up. Note that the view has no knowledge of where it is supposed to be rendered on the page. It could be passed into PersonsView with an el option: new Perso
2.
▲
by
mobmad
14y ago
I think you need to read the post again. In the first example, he: - initializes a view - asks the collection to fetch itself - asserts that the VIEW now has 20 person elements, not the collection. What this first test does is as