From a7b584c469d412ae7333a795a0ac8d3616a96a1f Mon Sep 17 00:00:00 2001 From: Maxime Thirouin Date: Tue, 19 Dec 2017 14:11:55 +0100 Subject: [PATCH] Add direct download link Ref #57 --- README.md | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 6b706c9..34f1659 100644 --- a/README.md +++ b/README.md @@ -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).