Skip to content

Instantly share code, notes, and snippets.

@mitchlloyd
Last active December 18, 2015 12:39
Show Gist options
  • Save mitchlloyd/5784507 to your computer and use it in GitHub Desktop.
Save mitchlloyd/5784507 to your computer and use it in GitHub Desktop.
(blog snippet) Example of using the AutoSaving mixin.
App.DocumentController = Ember.ObjectController.extend App.AutoSaving,
bufferedFields: ['title', 'body']
instaSaveFields: ['postedAt', 'category']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment