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

remove deprecated idToRecord and cleanup #5038

Merged
merged 1 commit into from
Jun 26, 2017

Conversation

bekzod
Copy link
Contributor

@bekzod bekzod commented Jun 26, 2017

No description provided.

@@ -112,21 +100,15 @@ export default class InternalModelMap {
@method clear
*/
clear() {
if (this._models) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this always true

}

this._metadata = null;
}

destroy() {
Copy link
Contributor Author

@bekzod bekzod Jun 26, 2017

Choose a reason for hiding this comment

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

this is not used and destroys non-existant things

@stefanpenner stefanpenner merged commit b877a37 into emberjs:master Jun 26, 2017
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.

None yet

2 participants