Backbone Backbone-localStorage demo
摘要:
Document Click js:var DemoModel = Backbone.Model.extend({ defaults: { name: "King-fly", age: 23 }});var DemoCollection = Backbone.Collection.extend({ model: DemoModel, localStorage: new Backbone.LocalStorage("Demotodo"), initialize: functi... 阅读全文
posted @ 2013-12-29 17:43 Ijavascript 阅读(376) 评论(0) 推荐(1) 编辑