Compare commits
2 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
0b56727f0d | |
|
|
10e868f7b6 |
|
|
@ -370,7 +370,7 @@ function startMetaPoll(afterTime) {
|
||||||
const thisRequest = meta.currentRequest = $.ajax({
|
const thisRequest = meta.currentRequest = $.ajax({
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
contentType: 'application/json',
|
contentType: 'application/json',
|
||||||
url: `${API_BASE}/games${!afterTime ? '' : `/poll/${afterTime}`}`,
|
url: `${API_BASE}/games${(afterTime === undefined) ? '' : `/poll/${afterTime}`}`,
|
||||||
cache: false,
|
cache: false,
|
||||||
timeout: afterTime ? LONG_TIMEOUT : SHORT_TIMEOUT,
|
timeout: afterTime ? LONG_TIMEOUT : SHORT_TIMEOUT,
|
||||||
}).done((data, textStatus, jqXHR) => {
|
}).done((data, textStatus, jqXHR) => {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paco-sako",
|
"name": "paco-sako",
|
||||||
"version": "0.8.5",
|
"version": "0.8.6",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paco-sako",
|
"name": "paco-sako",
|
||||||
"version": "0.8.5",
|
"version": "0.8.6",
|
||||||
"description": "Online version of the Paco Ŝako chess variation",
|
"description": "Online version of the Paco Ŝako chess variation",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"game",
|
"game",
|
||||||
|
|
@ -57,7 +57,9 @@
|
||||||
"workbox-webpack-plugin": "^5.1.3",
|
"workbox-webpack-plugin": "^5.1.3",
|
||||||
"workbox-window": "^5.1.3"
|
"workbox-window": "^5.1.3"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {
|
||||||
|
"paco-sako-server": "git+https://jessemcdonald.info/gogs/nybble/paco_sako_server"
|
||||||
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"paco-sako-server": "git+https://jessemcdonald.info/gogs/nybble/paco_sako_server"
|
"paco-sako-server": "git+https://jessemcdonald.info/gogs/nybble/paco_sako_server"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue