Add direct download link

Ref #57
This commit is contained in:
Maxime Thirouin
2017-12-19 14:11:55 +01:00
parent be5d58d550
commit a7b584c469

View File

@@ -19,6 +19,22 @@ Especially for user that have low bandwidth connection._
[You can see this running on my website](http://moox.io), with sexy CSS animations when switching pages.
## Installation
You can install pjax from **npm**
```shell
$ npm install pjax
```
Pjax can obviously be downloaded directly.
[https://unpkg.com/pjax/pjax.js](https://unpkg.com/pjax/pjax.js)
## No dependencies
_There is nothing you need. No jQuery or something._
## How Pjax works
Pjax loads page using ajax & updates the browser's current url using pushState without reloading your page's layout or any resources (js, css), giving a fast page load.
@@ -97,26 +113,6 @@ _Magic! For real!_ **There is completely no need to do anything on server side!*
- Allow page transition with CSS animations,
- Can be easily hacked since every method is public (so overridable)
## Installation
You can install pjax from **npm**
```shell
$ npm install pjax
```
Or using **bower**
```shell
$ bower install pjax
```
Pjax can obviously be downloaded directly.
## No dependencies
_There is nothing you need. No jQuery or something._
## Compatibility
Pjax only works with [browsers that support the `history.pushState` API](http://caniuse.com/#search=pushstate).