Files
pjax/lib/uniqueid.js
BehindTheMath 3c1a4b2e18 Switch linting to ESLint and Prettier (#191)
* Switch linting to ESLint and Prettier
* Clean up config
* Prettier fixes
2019-02-13 22:26:57 -05:00

9 lines
173 B
JavaScript

module.exports = (function() {
var counter = 0;
return function() {
var id = "pjax" + new Date().getTime() + "_" + counter;
counter++;
return id;
};
})();