Setup testling
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# Pjax
|
# Pjax
|
||||||
|
|
||||||
|
[](https://ci.testling.com/MoOx/pjax)
|
||||||
|
|
||||||
<img align="right" src="https://dl.dropboxusercontent.com/u/14108185/memes/mind-blow.gif">
|
<img align="right" src="https://dl.dropboxusercontent.com/u/14108185/memes/mind-blow.gif">
|
||||||
|
|
||||||
> Easily enable fast Ajax navigation on any website (using pushState + xhr)
|
> Easily enable fast Ajax navigation on any website (using pushState + xhr)
|
||||||
@@ -15,9 +17,7 @@ Especially for user that have low bandwidth connection._
|
|||||||
|
|
||||||
**No more full page reload. No more lots of HTTP request.**
|
**No more full page reload. No more lots of HTTP request.**
|
||||||
|
|
||||||
## No tests or Demo ?
|
## Demo
|
||||||
|
|
||||||
There is still some work to make this repo sexy with tests & simple demo.
|
|
||||||
|
|
||||||
For now [you can see this running on my website](http://moox.io), with sexy CSS animations when switching pages.
|
For now [you can see this running on my website](http://moox.io), with sexy CSS animations when switching pages.
|
||||||
|
|
||||||
|
|||||||
15
package.json
15
package.json
@@ -4,7 +4,7 @@
|
|||||||
"description": "Easily enable fast Ajax navigation on any website (using pushState + xhr)",
|
"description": "Easily enable fast Ajax navigation on any website (using pushState + xhr)",
|
||||||
"main": "src/pjax.js",
|
"main": "src/pjax.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "testling"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -47,5 +47,18 @@
|
|||||||
"rimraf": "^2.2.6",
|
"rimraf": "^2.2.6",
|
||||||
"tape": "^2.12.3",
|
"tape": "^2.12.3",
|
||||||
"uglifyify": "^2.1.1"
|
"uglifyify": "^2.1.1"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user