diff --git a/.travis.yml b/.travis.yml index 5c51c69..9c9521d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,3 +2,6 @@ language: "node_js" node_js: - "6" - "8" +# Force Travis to use npm v5 +# https://github.com/travis-ci/travis-ci/issues/4653#issuecomment-194051953 +before_install: if [[ `npm -v` != 5* ]]; then npm i -g npm@5; fi diff --git a/README.md b/README.md index 7e6a1ce..18a2c93 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Pjax -[](https://travis-ci.org/MoOx/pjax) [@todo fix CI](https://github.com/MoOx/pjax/issues/63). +[](https://travis-ci.org/MoOx/pjax). > Easily enable fast Ajax navigation on any website (using pushState + xhr) @@ -522,7 +522,7 @@ wrapper on each page (to avoid differences of DOM between pages) ## Examples -Clone this repository and run `npm run example`, then open `http://localhost:3000/example` in your browser. +Clone this repository and run `npm run example`, which will open the example app in your browser. --- diff --git a/bower.json b/bower.json deleted file mode 100644 index 6cc7c13..0000000 --- a/bower.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "pjax", - "version": "0.2.4", - "description": "Easily enable fast Ajax navigation on any website (using pushState + xhr)", - "keywords": [ - "pjax", - "push", - "state", - "ajax", - "navigation", - "transition", - "animation" - ], - "main": "pjax.js", - "homepage": "https://github.com/MoOx/pjax", - "authors": [ - "Maxime Thirouin" - ], - "license": "MIT", - "moduleType": [ - "node" - ], - "ignore": [ - "**/.*", - "node_modules", - "test", - "tests" - ] -} diff --git a/example/index.html b/example/index.html index cc95a19..4d375e0 100644 --- a/example/index.html +++ b/example/index.html @@ -11,7 +11,7 @@