我正在用EmberJS v1.0.pre编写应用程序.我有一个ArrayController包含所有人的列表.有一堆嵌套的视图显示了每个宠物的人,他们的宠物和笔记.
|----------------------------------------|
| John | <- Person
|----------------------------------------|
| Quincy (Dog) | <- Pet
| - Super ornery | <- Note
| - Likes XYZ Dog food |
| - Will eat your socks |
| |
| Tom (Cat) |
| - Always (not) catching mice |
| |
|----------------------------------------|
| Roger |
|----------------------------------------|
| V (Dog) |
| - Likes XYZ Dog food |
| - Sneezes, but it's ok |
| |
|----------------------------------------|
| …Run Code Online (Sandbox Code Playgroud)