diff --git a/README.md b/README.md index 02ef9ca..175b38e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Pjax +[![browser support](https://ci.testling.com/MoOx/pjax.png)](https://ci.testling.com/MoOx/pjax) + > Easily enable fast Ajax navigation on any website (using pushState + xhr) @@ -15,12 +17,14 @@ Especially for user that have low bandwidth connection._ **No more full page reload. No more lots of HTTP request.** -## No tests or Demo ? +## No tests yet ? ~~There is still some work to make this repo sexy with tests & simple demo.~~ Actually there is a [WIP branch where I'm adding lot of tests](https://github.com/MoOx/pjax/tree/testling) -For now [you can see this running on my website](http://moox.io), with sexy CSS animations when switching pages. +## Demo + +[You can see this running on my website](http://moox.io), with sexy CSS animations when switching pages. ## How Pjax works diff --git a/package.json b/package.json index 45fc4a1..1fce77f 100644 --- a/package.json +++ b/package.json @@ -35,5 +35,18 @@ "scripts": { "lint": "jscs **/*.js && jshint . --exclude-path .gitignore", "test": "npm run lint" + }, + "testling": { + "files": "tests/**/*.js", + "browsers": [ + "ie/7..latest", + "chrome/22..latest", + "firefox/16..latest", + "safari/6..latest", + "opera/11.0..latest", + "iphone/6..latest", + "ipad/6..latest", + "android-browser/latest" + ] } }