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

fix(index): incorrect contextual "this" reference #17

Merged
merged 1 commit into from
Jul 29, 2016
Merged

fix(index): incorrect contextual "this" reference #17

merged 1 commit into from
Jul 29, 2016

Conversation

Vheissu
Copy link
Member

@Vheissu Vheissu commented Jul 29, 2016

The require.ensure method on line 120 was using a generic function. Therefore, the this scope was being lost when trying to reference the _getActualResul` method. Changing it to a fat arrow method fixes the issue as the scope of "this" remains in reference to the class containing this method.

The require.ensure method on line 120 was using a generic function. Therefore, the `this` scope was being lost when trying to reference the _getActualResul` method. Changing it to a fat arrow method fixes the issue as the scope of "this" remains in reference to the class containing this method.
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