Compare commits
5 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
21623b24f0 | |
|
|
d2fe0f47c3 | |
|
|
f5bd481975 | |
|
|
efe995e247 | |
|
|
b553eb434a |
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
|
|
||||||
|
|
@ -372,7 +372,7 @@ function startMetaPoll(afterTime) {
|
||||||
contentType: 'application/json',
|
contentType: 'application/json',
|
||||||
url: `${API_BASE}/games${(afterTime === undefined) ? '' : `/poll/${afterTime}`}`,
|
url: `${API_BASE}/games${(afterTime === undefined) ? '' : `/poll/${afterTime}`}`,
|
||||||
cache: false,
|
cache: false,
|
||||||
timeout: afterTime ? LONG_TIMEOUT : SHORT_TIMEOUT,
|
timeout: (afterTime === undefined) ? SHORT_TIMEOUT : LONG_TIMEOUT,
|
||||||
}).done((data, textStatus, jqXHR) => {
|
}).done((data, textStatus, jqXHR) => {
|
||||||
if (meta.currentRequest === thisRequest) {
|
if (meta.currentRequest === thisRequest) {
|
||||||
meta.currentRequest = null;
|
meta.currentRequest = null;
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
34
package.json
34
package.json
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paco-sako",
|
"name": "paco-sako",
|
||||||
"version": "0.8.6",
|
"version": "0.8.7",
|
||||||
"description": "Online version of the Paco Ŝako chess variation",
|
"description": "Online version of the Paco Ŝako chess variation",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"game",
|
"game",
|
||||||
|
|
@ -32,30 +32,30 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.13.0",
|
"@fortawesome/fontawesome-free": "^5.13.0",
|
||||||
"buffer": "^4.9.2",
|
"buffer": "^6.0.3",
|
||||||
"clean-webpack-plugin": "^3.0.0",
|
"clean-webpack-plugin": "^4.0.0",
|
||||||
"copy-webpack-plugin": "^5.1.1",
|
"copy-webpack-plugin": "^6.4.1",
|
||||||
"css-element-queries": "^1.2.3",
|
"css-element-queries": "^1.2.3",
|
||||||
"deep-equal": "git+https://jessemcdonald.info/gogs/nybble/node-deep-equal",
|
"deep-equal": "git+https://jessemcdonald.info/gogs/nybble/node-deep-equal",
|
||||||
"extract-loader": "^5.0.1",
|
"extract-loader": "^5.0.1",
|
||||||
"html-webpack-plugin": "^4.3.0",
|
"html-webpack-plugin": "^4.5.2",
|
||||||
"jbox": "^1.2.0",
|
"jbox": "^1.2.0",
|
||||||
"jquery-ui-touch-punch": "^0.2.3",
|
"jquery-ui-touch-punch": "^0.2.3",
|
||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"mini-css-extract-plugin": "^0.9.0",
|
"mini-css-extract-plugin": "^1.6.2",
|
||||||
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
"optimize-css-assets-webpack-plugin": "^6.0.1",
|
||||||
"pako": "^1.0.11",
|
"pako": "^2.0.4",
|
||||||
"sprintf-js": "^1.0.3",
|
"sprintf-js": "^1.0.3",
|
||||||
"svgo": "^1.3.2",
|
"svgo": "^2.7.0",
|
||||||
"svgo-loader": "^2.2.1",
|
"svgo-loader": "^3.0.0",
|
||||||
"webpack": "^4.43.0",
|
"webpack": "^4.46.0",
|
||||||
"webpack-cli": "^3.3.11",
|
"webpack-cli": "^4.8.0",
|
||||||
"webpack-jquery-ui": "^2.0.1",
|
"webpack-jquery-ui": "^2.0.1",
|
||||||
"workbox-precaching": "^5.1.3",
|
"workbox-precaching": "^6.3.0",
|
||||||
"workbox-routing": "^5.1.3",
|
"workbox-routing": "^6.3.0",
|
||||||
"workbox-strategies": "^5.1.3",
|
"workbox-strategies": "^6.3.0",
|
||||||
"workbox-webpack-plugin": "^5.1.3",
|
"workbox-webpack-plugin": "^6.3.0",
|
||||||
"workbox-window": "^5.1.3"
|
"workbox-window": "^6.3.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"paco-sako-server": "git+https://jessemcdonald.info/gogs/nybble/paco_sako_server"
|
"paco-sako-server": "git+https://jessemcdonald.info/gogs/nybble/paco_sako_server"
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,14 @@ module.exports = {
|
||||||
loader: "svgo-loader",
|
loader: "svgo-loader",
|
||||||
options: {
|
options: {
|
||||||
plugins: [
|
plugins: [
|
||||||
{ cleanupIDs: false }
|
{
|
||||||
|
name: "preset-default",
|
||||||
|
params: {
|
||||||
|
overrides: {
|
||||||
|
cleanupIDs: false,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -88,9 +95,11 @@ module.exports = {
|
||||||
"window.jQuery": "jquery'",
|
"window.jQuery": "jquery'",
|
||||||
"window.$": "jquery"
|
"window.$": "jquery"
|
||||||
}),
|
}),
|
||||||
new CopyPlugin([
|
new CopyPlugin({
|
||||||
{ from: '.htaccess' },
|
patterns: [
|
||||||
]),
|
{ from: '.htaccess' },
|
||||||
|
],
|
||||||
|
}),
|
||||||
new InjectManifest({
|
new InjectManifest({
|
||||||
swSrc: './sw.js',
|
swSrc: './sw.js',
|
||||||
dontCacheBustURLsMatching: /\.[0-9a-f]{16,}\.\w{2,4}$/,
|
dontCacheBustURLsMatching: /\.[0-9a-f]{16,}\.\w{2,4}$/,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue