Skip to content

Commit d9e5020

Browse files
committed
Update 06-backbonejs-todos-1.rst
1 parent 734da37 commit d9e5020

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chapters/06-backbonejs-todos-1.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ clone下来之后可以在example中找到todos文件夹,文件结构如下:
8888
// 设置Collection的模型为Todo
8989
model: Todo,
9090
//存储到浏览器,以todos-backbone命名的空间中
91+
//此函数为Backbone插件提供 地址:https://github.com/jeromegn/Backbone.localStorage
9192
localStorage: new Backbone.LocalStorage("todos-backbone"),
9293
9394
//获取所有已经完成的任务数组

0 commit comments

Comments
 (0)