摘要:
ember-data.js/** An adapter is an object that receives requests from a store and translates them into the appropriate action to take against your persistence layer. The persistence layer is usually an HTTP API, but may be anything, such as the browser's local storage. ### Creating an Adapter Fir 阅读全文
posted @ 2013-07-02 17:29
二分之一黑与白
阅读(122)
评论(0)
推荐(0)
摘要:
1 /* 2 * application 3 * */ 4 window.Trot = Ember.Application.create(); 5 6 /* 7 * router 8 */ 9 Trot.Router.map(function() {10 this.resource('index', {11 path : '/'12 });13 this.resource('list', {14 path : '/list'15 });16 this.resource('content', {17 ... 阅读全文
posted @ 2013-07-02 15:18
二分之一黑与白
阅读(569)
评论(1)
推荐(0)

浙公网安备 33010602011771号