We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ca193 commit 43f8003Copy full SHA for 43f8003
test/evaled.js
@@ -1 +1,2 @@
1
window.evaledSrcScript = true
2
+window.evaledScriptLoaded()
test/unit/pjax.js
@@ -121,11 +121,11 @@ if ($.support.pjax) {
121
asyncTest("evals scripts", function() {
122
var frame = this.frame
123
124
- frame.$('#main').on('pjax:success', function() {
+ frame.evaledScriptLoaded = function() {
125
equal(true, frame.evaledSrcScript)
126
equal(true, frame.evaledInlineScript)
127
start()
128
- })
+ }
129
frame.$.pjax({
130
url: "scripts.html",
131
container: "#main"
0 commit comments