Last active
December 26, 2015 17:38
-
-
Save vladimir-polyakov/7187982 to your computer and use it in GitHub Desktop.
Adding new transform to Ember app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var RawTransform = DS.Transform.extend({ | |
deserialize: function(serialized) { | |
return serialized; | |
}, | |
serialize: function(deserialized) { | |
return deserialized; | |
} | |
}); | |
App.register('transform:raw', RawTransform); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment