Skip to content

Commit

Permalink
Merge pull request the5fire#16 from IShinji/patch-4
Browse files Browse the repository at this point in the history
Update 06-backbonejs-todos-1.rst
  • Loading branch information
the5fire committed Jun 5, 2014
2 parents 734da37 + d9e5020 commit 82ab960
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chapters/06-backbonejs-todos-1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ clone下来之后可以在example中找到todos文件夹,文件结构如下:
// 设置Collection的模型为Todo
model: Todo,
//存储到浏览器,以todos-backbone命名的空间中
//此函数为Backbone插件提供 地址:https://github.com/jeromegn/Backbone.localStorage
localStorage: new Backbone.LocalStorage("todos-backbone"),
//获取所有已经完成的任务数组
Expand Down

0 comments on commit 82ab960

Please sign in to comment.