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

[DOC] shorthand methods for rest adapter #4783

Merged
merged 2 commits into from
Jan 27, 2017
Merged

Conversation

knownasilya
Copy link
Contributor

No description provided.

let sortedKeys = Object.keys(params).sort().reverse();
let len = sortedKeys.length, newParams = {};

for (let i = 0; i < len; i++) {
newParams[sortedKeys[i]] = params[sortedKeys[i]];
}

Copy link
Contributor

Choose a reason for hiding this comment

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

whitespace~

@locks locks merged commit 4f1a7b1 into emberjs:master Jan 27, 2017
@knownasilya knownasilya deleted the patch-10 branch January 27, 2017 17:18
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