Backbone 学习5
摘要:
(function($){ Backbone.sync = function(method, model, success, error){ success(); } var Item = Backbone.Model.extend({ defaults: { part1: 'hello', part2: 'world' } }); var List = Backbone.Collection.extend({ model: Item }); var ItemView = Backbone.View.extend({ tagNam... 阅读全文
posted @ 2013-06-08 23:46 Ijavascript 阅读(202) 评论(0) 推荐(0) 编辑