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

Replace global for window in polyfill #6669

Merged
merged 1 commit into from
May 28, 2020
Merged

Replace global for window in polyfill #6669

merged 1 commit into from
May 28, 2020

Conversation

Zyie
Copy link
Member

@Zyie Zyie commented May 28, 2020

Description of change

After updating the polyfill package to TypeScript the pixi examples page no longer works.

As discussed here pixijs/examples#66 this was due to the commonjs rollup plugin not being compatible with TypeScript.

To fix this i replaced global with window as @bigtimebuddy suggested.

This should also fix #6668

Pre-Merge Checklist
  • Lint process passed (npm run lint)
  • Tests passed (npm run test)

@Zyie Zyie requested a review from bigtimebuddy May 28, 2020 17:46
Copy link
Member

@bigtimebuddy bigtimebuddy left a comment

Choose a reason for hiding this comment

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

@bigtimebuddy bigtimebuddy added the 🔥 High Priority These are PRs or issues that are extremely important to address either because they are from sponsor label May 28, 2020
@codecov-commenter
Copy link

Codecov Report

Merging #6669 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #6669   +/-   ##
=======================================
  Coverage   76.84%   76.84%           
=======================================
  Files          29       29           
  Lines        1127     1127           
=======================================
  Hits          866      866           
  Misses        261      261           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ee3a39...a9131dd. Read the comment docs.

@bigtimebuddy bigtimebuddy merged commit 616e6a2 into dev May 28, 2020
@bigtimebuddy bigtimebuddy deleted the fix-examples branch May 28, 2020 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 High Priority These are PRs or issues that are extremely important to address either because they are from sponsor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken examples
4 participants