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 extraneous conditional in ajax() #3985

Merged
merged 1 commit into from
Dec 11, 2015

Conversation

davewasmer
Copy link
Contributor

I might be missing something obvious, so feel free to close if this code was intended and I just missed the effect.

The conditional was checking if error was not an instance of Error, but it was initialized on the previous line, ensuring the conditional would always pass.

The conditional was checking if `error` was not an instance of `Error`, but it was initialized on the previous line, ensuring the conditional would always pass.
fivetanley added a commit that referenced this pull request Dec 11, 2015
Remove extraneous conditional in ajax()
@fivetanley fivetanley merged commit 5794d27 into emberjs:master Dec 11, 2015
@fivetanley
Copy link
Member

thanks!

@davewasmer
Copy link
Contributor Author

🍻

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