摘要: // Get /appointments{ "per_page": 10, "page": 1, "total": 50, "appointments": [ { "title": "Ms. Kitty Hairball Treatment", "cankelled": false, "identi 阅读全文
posted @ 2014-08-07 18:56 Zhentiw 阅读(256) 评论(0) 推荐(0) 编辑
摘要: The good Dr. recently had another team implement the server and they slightly messed up the format of the JSON returned for Appointment data. Instead 阅读全文
posted @ 2014-08-07 16:38 Zhentiw 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1. Ceate a route Class var AppRouter = Backbone.Router.extend({ }); 2. Add a route name it "show", listene to 'appointments/:id' var AppRouter = Backb 阅读全文
posted @ 2014-08-07 14:04 Zhentiw 阅读(185) 评论(0) 推荐(0) 编辑