We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pjax/index.js
Lines 208 to 213 in c26c223
pjax/lib/execute-scripts.js
Lines 10 to 17 in c26c223
After script.parentNode.removeChild(script); is executed, script.parentNode will be null
script.parentNode.removeChild(script);
script.parentNode
null
pjax/lib/eval-script.js
Lines 4 to 5 in c26c223
This means that the return value of the short-circuit evaluation here is document.querySelector("head")
document.querySelector("head")
In other words, all the scripts that are refreshed by pjax will be placed in the <head>. Is this expected behavior?
<head>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
pjax/index.js
Lines 208 to 213 in c26c223
pjax/lib/execute-scripts.js
Lines 10 to 17 in c26c223
After
script.parentNode.removeChild(script);
is executed,script.parentNode
will benull
pjax/lib/eval-script.js
Lines 4 to 5 in c26c223
This means that the return value of the short-circuit evaluation here is
document.querySelector("head")
In other words, all the scripts that are refreshed by pjax will be placed in the
<head>
. Is this expected behavior?The text was updated successfully, but these errors were encountered: