For Loop over Backbone Collection

前端 未结 3 799
耶瑟儿~
耶瑟儿~ 2021-01-17 13:06

Fairly new to backbone, so this is a really basic question. I have a Backbone collection passed into a function and I can prove that it has been passed and that the models i

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-17 13:23

    You want to loop over the models property of the collection, not the collection object itself.

提交回复
热议问题