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

No jquery fixes #1

Merged
merged 6 commits into from
Feb 8, 2018
Merged

No jquery fixes #1

merged 6 commits into from
Feb 8, 2018

Conversation

latata
Copy link

@latata latata commented Feb 8, 2018

Fixes

  • removing event handlers
  • setting properties for already destroyed components

@Wikia/x-wing

} else if (entry.intersectionRatio <= 0) { // exiting viewport
set(this, 'viewportEntered', false);
this.trigger('didExitViewport');
if (!this.isDestroyed) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should also check for this.isDestroying

@hakubo
Copy link

hakubo commented Feb 8, 2018

Please also open a PR to original repo

@latata latata merged commit e8f389a into upgrade Feb 8, 2018
@latata latata deleted the no-jquery-fixes branch February 8, 2018 10:51
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