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 unused helper function normalizeAttributes #4680

Merged
merged 1 commit into from
Nov 25, 2016

Conversation

diamondo25
Copy link
Contributor

I was not able to find any references to normalizeAttribute:

➜  frontend git:(master) ✗ grep 'normalizeAttributes' -R --exclude-dir tmp . | grep -v \.map
./dist/assets/vendor.js:      @method normalizeAttributes
./dist/assets/vendor.js:    normalizeAttributes: function normalizeAttributes(typeClass, hash) {
./node_modules/ember-data/addon/serializers/json.js:    @method normalizeAttributes
./node_modules/ember-data/addon/serializers/json.js:  normalizeAttributes(typeClass, hash) {
./node_modules/ember-data/CHANGELOG.md:* Moved several normalize helper methods to the JSONSerializer - Move `normalizeAttributes` to the `JSONSerializer` (mirrors `serializeAttributes`) - Move `normalizeRelationships` to the `JSONSerializer` - Move `normalizePayload` to the `JSONSerializer`

@bmac bmac merged commit 7f48af2 into emberjs:master Nov 25, 2016
@bmac
Copy link
Member

bmac commented Nov 25, 2016

Thanks @diamondo25.

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