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

Use arrow function to preserve this. #238

Merged
merged 1 commit into from
Oct 26, 2015
Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Oct 26, 2015

This previously caused an error when saving because this wasn't being preserved.

Prior error:

screenshot

This previously caused an error when saving because `this` wasn't being
preserved.

Prior error:

![screenshot](https://monosnap.com/file/QmrPw2dESDWzGmyHE9KKbE3RX3D0Ss.png)
@Gaurav0
Copy link
Contributor

Gaurav0 commented Oct 26, 2015

👍

Gaurav0 added a commit that referenced this pull request Oct 26, 2015
Use arrow function to preserve this.
@Gaurav0 Gaurav0 merged commit f425f2d into ember-cli:master Oct 26, 2015
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.

3 participants