Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bdf2394907 | ||
|
|
84400bb61d | ||
|
|
7a3a69b54b | ||
|
|
9849ac60d2 | ||
|
|
e891de30cc |
@@ -470,6 +470,8 @@ new Pjax()
|
|||||||
document.addEventListener("pjax:success", whenContainerReady)
|
document.addEventListener("pjax:success", whenContainerReady)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## [Changelog](CHANGELOG.md)
|
## [Changelog](CHANGELOG.md)
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "pjax",
|
"name": "pjax",
|
||||||
"main": "pjax.js",
|
"main": "pjax.js",
|
||||||
"version": "0.0.0",
|
"version": "0.1.1",
|
||||||
"homepage": "https://github.com/MoOx/pjax",
|
"homepage": "https://github.com/MoOx/pjax",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Maxime Thirouin <m@moox.io>"
|
"Maxime Thirouin <m@moox.io>"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pjax",
|
"name": "pjax",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"description": "Boost browsing experience using Ajax navigation (+ Push state)",
|
"description": "Boost browsing experience using Ajax navigation (+ Push state)",
|
||||||
"main": "pjax.js",
|
"main": "pjax.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
7
pjax.js
7
pjax.js
@@ -1,4 +1,4 @@
|
|||||||
(function(root, factory) {
|
;(function(root, factory) {
|
||||||
if (typeof exports === "object") {
|
if (typeof exports === "object") {
|
||||||
// CommonJS
|
// CommonJS
|
||||||
module.exports = factory()
|
module.exports = factory()
|
||||||
@@ -12,6 +12,8 @@
|
|||||||
root.Pjax = factory()
|
root.Pjax = factory()
|
||||||
}
|
}
|
||||||
}(this, function() {
|
}(this, function() {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function newUid() {
|
function newUid() {
|
||||||
return (new Date().getTime())
|
return (new Date().getTime())
|
||||||
}
|
}
|
||||||
@@ -582,4 +584,5 @@
|
|||||||
|
|
||||||
return stupidPjax
|
return stupidPjax
|
||||||
}
|
}
|
||||||
}))
|
|
||||||
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user