-
Notifications
You must be signed in to change notification settings - Fork 2k
executeScriptTags will fail when using things like embedded Gists. #393
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
Comments
Good point. @josh do you think we might get away by injecting |
@mislav i think the Think in a blog post with the following content
If we move the Ps. Sorry about my bad english. |
Yeah, I understand. Your English is good enough. However if we just inject the script tags in their proper place in the DOM after pjax, I guess pjax can't be used to load HTML contents that has script that rely on |
Yep, document.write issues aren't fixable.
|
It makes no difference in execution are inserted into the dom. Scripts are always added to head for consistency since we only run them once. You can't unrun a script tag so sweeping them away between page transitions is more confusing.
|
When using scripts like embedded gists, who are designed to write after the script tag. Pjax will break the flux since it will append the
<script>
into<head>
Ref. oswaldoacauan/ghostium#52
The text was updated successfully, but these errors were encountered: