Skip to content

Commit d67708c

Browse files
committed
Requires jquery 1.8.x
1 parent 13e3f3a commit d67708c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323

2424
## pjax = pushState + ajax
2525

26-
pjax is a jQuery plugin that uses ajax and pushState to deliver a fast browsing experience with real permalinks, page titles, and a working back button.
26+
pjax is a jQuery plugin that uses ajax and pushState to deliver a fast browsing experience with real permalinks, page titles, and a working back button.
2727

28-
pjax works by grabbing html from your server via ajax and replacing the content of a container on your page with the ajax'd html. It then updates the browser's current url using pushState without reloading your page's layout or any resources (js, css), giving the appearance of a fast, full page load. But really it's just ajax and pushState.
28+
pjax works by grabbing html from your server via ajax and replacing the content of a container on your page with the ajax'd html. It then updates the browser's current url using pushState without reloading your page's layout or any resources (js, css), giving the appearance of a fast, full page load. But really it's just ajax and pushState.
2929

3030
For [browsers that don't support pushState][compat] pjax fully degrades.
3131

@@ -60,7 +60,7 @@ $(document).pjax('a', '#pjax-container')
6060

6161
Now when someone in a pjax-compatible browser clicks "next page" the content of `#pjax-container` will be replaced with the body of `/pjax/2`.
6262

63-
Magic! Almost. You still need to configure you server to look for pjax requests then send back pjax-specific content.
63+
Magic! Almost. You still need to configure you server to look for pjax requests then send back pjax-specific content.
6464

6565
The pjax ajax request sends an `X-PJAX` header so in this example (and in most cases) we return a page without a layout to any requests with that header.
6666

@@ -108,7 +108,7 @@ curl -O https://raw.github.com/defunkt/jquery-pjax/master/jquery.pjax.js
108108

109109
## Dependencies
110110

111-
Requires jQuery 1.7.x or higher.
111+
Requires jQuery 1.8.x or higher.
112112

113113
## Compatibility
114114

@@ -285,7 +285,7 @@ $ cd jquery-pjax/
285285
To run the test suite locally, start up the Sinatra test application.
286286

287287
```
288-
$ ruby test/app.rb
288+
$ ruby test/app.rb
289289
== Sinatra/1.3.2 has taken the stage on 4567 for development with backup from WEBrick
290290
291291
$ open http://localhost:4567/

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"version": "1.2.0",
44
"main": "./jquery.pjax.js",
55
"dependencies": {
6-
"jquery": ">=1.7"
6+
"jquery": ">=1.8"
77
}
88
}

0 commit comments

Comments
 (0)