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 bbeb696 commit db05244Copy full SHA for db05244
test/unit/pjax.js
@@ -741,13 +741,17 @@ if ($.support.pjax) {
741
var frame = this.frame
742
743
frame.$.pjax({
744
- url: "timeout.html",
+ url: "timeout.html#hello",
745
container: "#main"
746
})
747
748
+ equal(frame.location.pathname, "/timeout.html")
749
+ equal(frame.location.hash, "#hello")
750
+
751
this.iframe.onload = function() {
752
equal(frame.$("#main p").html(), "SLOW DOWN!")
753
equal(frame.location.pathname, "/timeout.html")
754
755
start()
756
}
757
0 commit comments