Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: joewest/data
base: 7ed415cad0
...
head fork: joewest/data
compare: 25c466528f
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 10 additions and 0 deletions.
  1. +10 −0 packages/ember-data/lib/system/model/attributes.js
View
10 packages/ember-data/lib/system/model/attributes.js
@@ -133,6 +133,16 @@ DS.attr.transforms = {
}
},
+ json: {
+ from: function(serialized) {
+ return Ember.none(serialized) ? null : serialized;
+ },
+
+ to: function(deserialized) {
+ return Ember.none(deserialized) ? null : deserialized;
+ }
+ },
+
date: {
from: function(serialized) {
var type = typeof serialized;

No commit comments for this range

Something went wrong with that request. Please try again.