Skip to content

Commit

Permalink
Adding in a values property to the transform so it's easy to obtain t…
Browse files Browse the repository at this point in the history
…he list of enumerated values for a transform
  • Loading branch information
Andy Leeper committed Jan 6, 2013
1 parent ff11942 commit a73a2bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ember-data/lib/system/serializer.js
Expand Up @@ -914,7 +914,8 @@ DS.Serializer = Ember.Object.extend({
},
serialize: function(serialized) {
return objects.indexOf(serialized);
}
},
values: objects
};
this.registerTransform(type, transform);
},
Expand Down

0 comments on commit a73a2bd

Please sign in to comment.