addyosmani / addyosmani/backbone-fundamentals
Page 37 Collections unclear use of method create
未关闭
- 主要语言
- Rich Text Format
- 星标
- 9.2k
- 派生
- 1.4k
- PR 合并指标
- 30 天内没有已合并 PR
描述
On page 37 the example uses:
// Collection's convenience method used to create
// new model instance within collection itself.
todos.create({title:'Try out code examples', id: 48});
I'm assuming that this adds a new model instance to the collection but, I'm guessing this example is not clear.
If so explaining the use of the create function and its expected input would be quite valuable.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。