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 PWA example script #23705

Merged
merged 2 commits into from Aug 6, 2019
Merged

Conversation

powerivq
Copy link
Contributor

@powerivq powerivq commented Aug 5, 2019

appendChild(scriptElement) no longer throws when the script failed to load, causing non-minimized pwa example to fail. This PR fixes that issue.

Copy link

@dreamofabear dreamofabear left a comment

Choose a reason for hiding this comment

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

Nice find.

examples/pwa/pwa.js Show resolved Hide resolved
@powerivq
Copy link
Contributor Author

powerivq commented Aug 6, 2019

@choumx Can you commit for me?

@dreamofabear dreamofabear merged commit b24583a into ampproject:master Aug 6, 2019
thekorn pushed a commit to edelight/amphtml that referenced this pull request Sep 11, 2019
* Fix PWA example script

* Remove script if failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants