0
Ember JSでは、以下の例の人のリストをプログラムでプログラムで生成するにはどうすればよいですか?Ember JS:プログラムによる項目リストのレンダリング
{{#each App.peopleController}}
{{#view App.PersonView contentBinding="this"}}
{{content.firstName}} {{content.lastName}}
{{/view}}
{{/each}}
私は
App.peopleController.forEach(function(person) {
App.PersonView.create({contentBinding: person}).render();
})
を使用してみましたが、私はエラー 'data.buffer' は未定義ですです。