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

docs: let the demo work correctly in angular v8+. #6581

Merged
merged 1 commit into from
Apr 9, 2020
Merged

docs: let the demo work correctly in angular v8+. #6581

merged 1 commit into from
Apr 9, 2020

Conversation

hv0905
Copy link
Contributor

@hv0905 hv0905 commented Apr 9, 2020

Description

Updated the demo to make it run correctly in angular v8.0.0 and later.
Without the static: true property, an not defined ReferenceError will be thrown since the target is null on init.

Specific Changes proposed

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Change has been verified in an actual browser (Chome, Firefox, IE)
    • Unit Tests updated or fixed
    • Docs/guides updated
    • Example created (starter template on JSBin)
  • Reviewed by Two Core Contributors

Without the `static: true` property, an `not defined ReferenceError` will be thrown since the target is null on init.
@welcome
Copy link

welcome bot commented Apr 9, 2020

💖 Thanks for opening this pull request! 💖

Things that will help get your PR across the finish line:

  • Run npm run lint -- --errors locally to catch formatting errors earlier.
  • Include tests when adding/changing behavior.
  • Include screenshots and animated GIFs whenever possible.

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.

@gkatsev gkatsev merged commit 8f930c5 into videojs:master Apr 9, 2020
@welcome
Copy link

welcome bot commented Apr 9, 2020

Congrats on merging your first pull request! 🎉🎉🎉

@hv0905 hv0905 deleted the patch-1 branch April 9, 2020 23:55
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