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(FEC-11038): decorator API called with incorrect this(proxy) instead of the activeDecorator #546

Merged
merged 18 commits into from
Mar 10, 2021

Conversation

Yuvalke
Copy link
Contributor

@Yuvalke Yuvalke commented Feb 24, 2021

Description of the Changes

Issue: API method which overrides by decorator has the proxy as this, it doesn't let us use to register events on the decorator scope and other scope issues.
Solution: make a call directly to decorator API with arguments instead of the proxy.

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

@Yuvalke Yuvalke requested a review from yairans February 24, 2021 16:31
@Yuvalke Yuvalke self-assigned this Feb 24, 2021
@Yuvalke Yuvalke changed the title fix: decorator API called with incorrect this(proxy) instead of the activeDecorator fix(FEC-11038): decorator API called with incorrect this(proxy) instead of the activeDecorator Feb 25, 2021
@OrenMe OrenMe requested a review from dan-ziv February 28, 2021 07:26
src/player.js Outdated Show resolved Hide resolved
yairans
yairans previously approved these changes Mar 10, 2021
@Yuvalke Yuvalke merged commit 35b83ad into master Mar 10, 2021
@Yuvalke Yuvalke deleted the fix-decorator-with-proxy-this branch March 10, 2021 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants