Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more cleanup on internalModel vs record #3147

Merged
merged 1 commit into from
Jun 2, 2015

Conversation

tchak
Copy link
Member

@tchak tchak commented Jun 2, 2015

No description provided.

@@ -115,7 +115,7 @@ export default Serializer.extend({
*/
applyTransforms: function(typeClass, data) {
typeClass.eachTransformedAttribute(function applyTransform(key, typeClass) {
if (!data.hasOwnProperty(key)) { return; }
if (!(key in data)) { return; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This data comes from jqxhr afaik, so can't do this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You right let's leave serializable hash alone for now. I removed the changes.


toString: function() {
if (this.record) {
return this.record.toString();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

igorT added a commit that referenced this pull request Jun 2, 2015
more cleanup on internalModel vs record
@igorT igorT merged commit 37401a8 into emberjs:master Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants