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