map generation build 2

This commit is contained in:
Sendou
2019-05-12 17:24:03 +03:00
parent 4371fcdde1
commit 840221967a
8 changed files with 19 additions and 14 deletions

View File

@@ -1,13 +1,13 @@
{
"files": {
"main.js": "/static/js/main.79efb168.chunk.js",
"main.js.map": "/static/js/main.79efb168.chunk.js.map",
"main.js": "/static/js/main.32788ed5.chunk.js",
"main.js.map": "/static/js/main.32788ed5.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.a8a9905a.js",
"runtime~main.js.map": "/static/js/runtime~main.a8a9905a.js.map",
"static/js/2.fa52ac4d.chunk.js": "/static/js/2.fa52ac4d.chunk.js",
"static/js/2.fa52ac4d.chunk.js.map": "/static/js/2.fa52ac4d.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.885abe34a2067f9eab8167c6016da4ad.js": "/precache-manifest.885abe34a2067f9eab8167c6016da4ad.js",
"precache-manifest.0e17a26bf85a4f2e779e9cfd03f0aab6.js": "/precache-manifest.0e17a26bf85a4f2e779e9cfd03f0aab6.js",
"service-worker.js": "/service-worker.js",
"static/media/bridge.png": "/static/media/bridge.fba72008.png",
"static/media/depot.png": "/static/media/depot.c5459318.png",

View File

@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="stylesheet" href="//cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>sendou.ink</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.fa52ac4d.chunk.js"></script><script src="/static/js/main.79efb168.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="stylesheet" href="//cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>sendou.ink</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.fa52ac4d.chunk.js"></script><script src="/static/js/main.32788ed5.chunk.js"></script></body></html>

View File

@@ -1,6 +1,6 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "71111c92348d1f10b103ab048039e9e0",
"revision": "82ddb36140b386ed8533a6e24efbf5a9",
"url": "/index.html"
},
{
@@ -8,8 +8,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/js/2.fa52ac4d.chunk.js"
},
{
"revision": "9a2e2d26622036788749",
"url": "/static/js/main.79efb168.chunk.js"
"revision": "f799fd34a2adb3998c7a",
"url": "/static/js/main.32788ed5.chunk.js"
},
{
"revision": "42ac5946195a7306e2a5",

View File

@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.0/workbox-sw.js");
importScripts(
"/precache-manifest.885abe34a2067f9eab8167c6016da4ad.js"
"/precache-manifest.0e17a26bf85a4f2e779e9cfd03f0aab6.js"
);
self.addEventListener('message', (event) => {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -50,7 +50,7 @@ const MapListGenerator = ({ setMenuSelection }) => {
textAreaRef.current.select()
document.execCommand('copy')
e.target.focus()
setCopySuccess('Copied maps to clipboard!')
setCopySuccess('Copied!')
}
function shuffle(a) {
@@ -96,7 +96,12 @@ const MapListGenerator = ({ setMenuSelection }) => {
const tcMaps = maps[boxValue].tc.filter((m, i) => mapValues[boxValue].tc[i])
const rmMaps = maps[boxValue].rm.filter((m, i) => mapValues[boxValue].rm[i])
const cbMaps = maps[boxValue].cb.filter((m, i) => mapValues[boxValue].cb[i])
if (szMaps.length+tcMaps.length+rmMaps.length+cbMaps.length === 0) {
if (szMaps.length + tcMaps.length + rmMaps.length + cbMaps.length === 0) {
return
}
if (szEveryOther && szMaps.length === 0) {
return
}
@@ -217,7 +222,7 @@ const MapListGenerator = ({ setMenuSelection }) => {
Choose the maps to include
</Header>
</Divider>
<Grid relaxed='very' columns={4}>
<Grid relaxed='very' columns={4} stackable>
<Grid.Column>
<Image src={szIcon} size="tiny" /><br />
<List>