Skip to content

Instantly share code, notes, and snippets.

@typeoneerror
Created January 28, 2015 19:29
Show Gist options
  • Save typeoneerror/ea854cfa9341f1388c37 to your computer and use it in GitHub Desktop.
Save typeoneerror/ea854cfa9341f1388c37 to your computer and use it in GitHub Desktop.
import DS from 'ember-data';
export default DS.Transform.extend({
serialize: function(deserialized) {
return deserialized;
},
deserialize: function(serialized) {
return Ember.Object.create(serialized);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment