Skip to content

Instantly share code, notes, and snippets.

@boy-jer
Created June 23, 2013 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boy-jer/5845344 to your computer and use it in GitHub Desktop.
Save boy-jer/5845344 to your computer and use it in GitHub Desktop.
// store.js
var serializer = DS.RESTSerializer.create();
App.Adapter = DS.RESTAdapter.reopen({
bulkCommit: false,
serializer: serializer,
});
serializer.configure({
count: 1,
since_id: 'since_id',
max_id: 'max_id'
});
App.Store = DS.Store.extend({
adapter: App.Adapter.create()
});
App.store = App.Store.create();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment