Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Correctly handle document.currentscript being null #180

Open
asnare opened this issue Dec 8, 2017 · 0 comments
Open

Correctly handle document.currentscript being null #180

asnare opened this issue Dec 8, 2017 · 0 comments
Labels

Comments

@asnare
Copy link
Member

asnare commented Dec 8, 2017

At present the javascript doesn't correctly handle document.currentscript being null during load. (Various modern loader tricks can lead to this, one of which is noted in pull request #179.)

This leads to a failure of the script to load, probably due to a TypeError being thrown when the code incorrectly tries to access the src attribute of null.

@asnare asnare added the bug label Dec 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant