Skip to content

broken script host detection in the client - Uncaught TypeError: Cannot read property 'replace' of null #372

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

Closed
pbc opened this issue Jan 16, 2016 · 1 comment

Comments

@pbc
Copy link

pbc commented Jan 16, 2016

This commit introduces a broken detection of the script host:

3d3c000#diff-895656aeaccff5d7c0f56a113ede9662

The code assumes that all script tags have a "src" attribute.

In my case it breaks the following load script which is the last script tag:

<script>
    $(function () {
      $.getScript("//localhost:8080/react-build/app_rjs_bundle.js");
    });
</script>
@SpaceK33z
Copy link
Member

SpaceK33z commented Aug 22, 2016

This was fixed with #447 a while ago. Also see #117 for a follow-up discussion.

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

No branches or pull requests

2 participants