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

Code Cleanup for store.js #4662

Merged
merged 1 commit into from
Nov 17, 2016
Merged

Code Cleanup for store.js #4662

merged 1 commit into from
Nov 17, 2016

Conversation

runspired
Copy link
Contributor

I've been working in this file a lot and it got tedious needing to update just small parts of the code formatting each time, so I did a little bit more in bulk.

@bmac bmac merged commit 7a12c44 into emberjs:master Nov 17, 2016
@bmac
Copy link
Member

bmac commented Nov 17, 2016

Thanks @runspired.

let snapshot = pendingItem.snapshot;
let resolver = pendingItem.resolver;
let record = snapshot._internalModel;
let adapter = this.adapterFor(record.modelClass.modelName);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bmac I'll fix this and add a failing test, we apparently don't test this. Record.modeClass doesn't exist (yet)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually disregard, this is an internalModel and forward thinking me has already made that work.

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