Skip to content

Use arrow function to preserve this.#238

Merged
Gaurav0 merged 1 commit intoember-cli:masterfrom
rwjblue:fix-this
Oct 26, 2015
Merged

Use arrow function to preserve this.#238
Gaurav0 merged 1 commit intoember-cli:masterfrom
rwjblue:fix-this

Conversation

@rwjblue
Copy link
Copy Markdown
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
Copy Markdown
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