puzzles.js: add in a cache buster

This commit is contained in:
J. Patrick Avery, Jr 2017-02-07 16:09:03 -07:00
parent 8716a0cadd
commit f76dd321af
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
var puzzlesTerminal; var puzzlesTerminal;
var puzzlesJsonUrl = "puzzles.json"; var ms=new Date().getTime()
var puzzlesJsonUrl = "puzzles.json?" + ms;
console.log(puzzlesJsonUrl);
function loadPuzzle(cat, id, points) { function loadPuzzle(cat, id, points) {
console.log("Requested " + cat + "/" + id + "(" + points + ")"); console.log("Requested " + cat + "/" + id + "(" + points + ")");