Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Sep 7, 2020
1 parent 481d481 commit 747c832
Show file tree
Hide file tree
Showing 31 changed files with 185 additions and 89 deletions.
51 changes: 32 additions & 19 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
{
"main.css": "https://osmcha.org/static/css/main.2e7871b1.chunk.css",
"main.js": "https://osmcha.org/static/js/main.3f4a15fa.chunk.js",
"main.js.map": "https://osmcha.org/static/js/main.3f4a15fa.chunk.js.map",
"runtime~main.js": "https://osmcha.org/static/js/runtime~main.df9f4da0.js",
"runtime~main.js.map": "https://osmcha.org/static/js/runtime~main.df9f4da0.js.map",
"static/css/2.f4755645.chunk.css": "https://osmcha.org/static/css/2.f4755645.chunk.css",
"static/js/2.1639bb65.chunk.js": "https://osmcha.org/static/js/2.1639bb65.chunk.js",
"static/js/2.1639bb65.chunk.js.map": "https://osmcha.org/static/js/2.1639bb65.chunk.js.map",
"static/js/3.0244872d.chunk.js": "https://osmcha.org/static/js/3.0244872d.chunk.js",
"static/js/3.0244872d.chunk.js.map": "https://osmcha.org/static/js/3.0244872d.chunk.js.map",
"index.html": "https://osmcha.org/index.html",
"precache-manifest.e2fd92902535f14a7ca74268d468f9c9.js": "https://osmcha.org/precache-manifest.e2fd92902535f14a7ca74268d468f9c9.js",
"service-worker.js": "https://osmcha.org/service-worker.js",
"static/css/2.f4755645.chunk.css.map": "https://osmcha.org/static/css/2.f4755645.chunk.css.map",
"static/css/main.2e7871b1.chunk.css.map": "https://osmcha.org/static/css/main.2e7871b1.chunk.css.map",
"static/media/banner.png": "https://osmcha.org/static/media/banner.ed2bb0d2.png",
"static/media/thumbs-down.svg": "https://osmcha.org/static/media/thumbs-down.7e04a82a.svg",
"static/media/thumbs-up.svg": "https://osmcha.org/static/media/thumbs-up.13d765c5.svg",
"static/media/work_flow.png": "https://osmcha.org/static/media/work_flow.195ff4f9.png"
"files": {
"main.css": "https://staging.osmcha.org/static/css/main.58e124ad.chunk.css",
"main.js": "https://staging.osmcha.org/static/js/main.dbd6ed8b.chunk.js",
"main.js.map": "https://staging.osmcha.org/static/js/main.dbd6ed8b.chunk.js.map",
"runtime-main.js": "https://staging.osmcha.org/static/js/runtime-main.c35739e6.js",
"runtime-main.js.map": "https://staging.osmcha.org/static/js/runtime-main.c35739e6.js.map",
"static/js/2.9470603e.chunk.js": "https://staging.osmcha.org/static/js/2.9470603e.chunk.js",
"static/js/2.9470603e.chunk.js.map": "https://staging.osmcha.org/static/js/2.9470603e.chunk.js.map",
"static/css/3.4a197733.chunk.css": "https://staging.osmcha.org/static/css/3.4a197733.chunk.css",
"static/js/3.d370e6ae.chunk.js": "https://staging.osmcha.org/static/js/3.d370e6ae.chunk.js",
"static/js/3.d370e6ae.chunk.js.map": "https://staging.osmcha.org/static/js/3.d370e6ae.chunk.js.map",
"static/js/4.31b88a6b.chunk.js": "https://staging.osmcha.org/static/js/4.31b88a6b.chunk.js",
"static/js/4.31b88a6b.chunk.js.map": "https://staging.osmcha.org/static/js/4.31b88a6b.chunk.js.map",
"index.html": "https://staging.osmcha.org/index.html",
"precache-manifest.8215a307ede6d8825a462383eec9497d.js": "https://staging.osmcha.org/precache-manifest.8215a307ede6d8825a462383eec9497d.js",
"service-worker.js": "https://staging.osmcha.org/service-worker.js",
"static/css/3.4a197733.chunk.css.map": "https://staging.osmcha.org/static/css/3.4a197733.chunk.css.map",
"static/css/main.58e124ad.chunk.css.map": "https://staging.osmcha.org/static/css/main.58e124ad.chunk.css.map",
"static/js/2.9470603e.chunk.js.LICENSE.txt": "https://staging.osmcha.org/static/js/2.9470603e.chunk.js.LICENSE.txt",
"static/js/3.d370e6ae.chunk.js.LICENSE.txt": "https://staging.osmcha.org/static/js/3.d370e6ae.chunk.js.LICENSE.txt",
"static/media/banner.png": "https://staging.osmcha.org/static/media/banner.ed2bb0d2.png",
"static/media/thumbs-down.svg": "https://staging.osmcha.org/static/media/thumbs-down.7e04a82a.svg",
"static/media/thumbs-up.svg": "https://staging.osmcha.org/static/media/thumbs-up.13d765c5.svg",
"static/media/work_flow.png": "https://staging.osmcha.org/static/media/work_flow.195ff4f9.png"
},
"entrypoints": [
"static/js/runtime-main.c35739e6.js",
"static/css/3.4a197733.chunk.css",
"static/js/3.d370e6ae.chunk.js",
"static/css/main.58e124ad.chunk.css",
"static/js/main.dbd6ed8b.chunk.js"
]
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name="google" value="notranslate"><link rel="shortcut icon" href="https://osmcha.org/favicon.ico"><link rel="preconnect" href="https://osmcha-django-staging.tilestream.net"><title>OSM Changeset Analyzer</title><link href="https://api.mapbox.com/mapbox-assembly/v0.21.0/assembly.min.css" rel="stylesheet"><script async defer="defer" src="https://api.mapbox.com/mapbox-assembly/v0.21.0/assembly.js"></script><script type="text/javascript">"http:"==location.protocol&&(location.href=location.href.replace(/^http:/,"https:")),0==window.location.hostname.indexOf("www")&&(window.location=window.location.href.replace("www.","")),function(o){if(console.log(o.host.indexOf("github.io")),o.search&&-1<o.host.indexOf("github.io")){var t={};o.search.slice(1).split("&").forEach(function(o){var i=o.split("=");t[i[0]]=i.slice(1).join("=").replace(/~and~/g,"&")}),void 0!==t.p&&window.history.replaceState(null,null,o.pathname.slice(0,-1)+(t.p||"")+(t.q?"?"+t.q:"")+o.hash)}}(window.location)</script><link href="https://osmcha.org/static/css/2.f4755645.chunk.css" rel="stylesheet"><link href="https://osmcha.org/static/css/main.2e7871b1.chunk.css" rel="stylesheet"></head><body><div id="root"></div><script>!function(c){function e(e){for(var t,r,n=e[0],o=e[1],u=e[2],i=0,a=[];i<n.length;i++)r=n[i],f[r]&&a.push(f[r][0]),f[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(c[t]=o[t]);for(d&&d(e);a.length;)a.shift()();return p.push.apply(p,u||[]),l()}function l(){for(var e,t=0;t<p.length;t++){for(var r=p[t],n=!0,o=1;o<r.length;o++){var u=r[o];0!==f[u]&&(n=!1)}n&&(p.splice(t--,1),e=s(s.s=r[0]))}return e}var r={},f={1:0},p=[];function s(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return c[e].call(t.exports,t,t.exports,s),t.l=!0,t.exports}s.e=function(u){var e=[],r=f[u];if(0!==r)if(r)e.push(r[2]);else{var t=new Promise(function(e,t){r=f[u]=[e,t]});e.push(r[2]=t);var n,i=document.createElement("script");i.charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.src=s.p+"static/js/"+({}[u]||u)+"."+{3:"0244872d"}[u]+".chunk.js",n=function(e){i.onerror=i.onload=null,clearTimeout(a);var t=f[u];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,o=new Error("Loading chunk "+u+" failed.\n("+r+": "+n+")");o.type=r,o.request=n,t[1](o)}f[u]=void 0}};var a=setTimeout(function(){n({type:"timeout",target:i})},12e4);i.onerror=i.onload=n,document.head.appendChild(i)}return Promise.all(e)},s.m=c,s.c=r,s.d=function(e,t,r){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(r,n,function(e){return t[e]}.bind(null,n));return r},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="https://osmcha.org/",s.oe=function(e){throw console.error(e),e};var t=window.webpackJsonp=window.webpackJsonp||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var d=n;l()}([])</script><script src="https://osmcha.org/static/js/2.1639bb65.chunk.js"></script><script src="https://osmcha.org/static/js/main.3f4a15fa.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name="google" value="notranslate"><link rel="shortcut icon" href="https://staging.osmcha.org/favicon.ico"><link rel="preconnect" href="https://osmcha-django-staging.tilestream.net"><title>OSM Changeset Analyzer</title><link href="https://api.mapbox.com/mapbox-assembly/v0.21.0/assembly.min.css" rel="stylesheet"><script async defer="defer" src="https://api.mapbox.com/mapbox-assembly/v0.21.0/assembly.js"></script><script type="text/javascript">"http:"==location.protocol&&(location.href=location.href.replace(/^http:/,"https:")),0==window.location.hostname.indexOf("www")&&(window.location=window.location.href.replace("www.","")),function(o){if(console.log(o.host.indexOf("github.io")),o.search&&o.host.indexOf("github.io")>-1){var i={};o.search.slice(1).split("&").forEach((function(o){var t=o.split("=");i[t[0]]=t.slice(1).join("=").replace(/~and~/g,"&")})),void 0!==i.p&&window.history.replaceState(null,null,o.pathname.slice(0,-1)+(i.p||"")+(i.q?"?"+i.q:"")+o.hash)}}(window.location)</script><link href="https://staging.osmcha.org/static/css/3.4a197733.chunk.css" rel="stylesheet"><link href="https://staging.osmcha.org/static/css/main.58e124ad.chunk.css" rel="stylesheet"></head><body><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],f=0,p=[];f<i.length;f++)a=i[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(s&&s(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{2:"9470603e",4:"31b88a6b"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="https://staging.osmcha.org/",a.oe=function(e){throw console.error(e),e};var i=this["webpackJsonposmcha-frontend"]=this["webpackJsonposmcha-frontend"]||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var s=c;r()}([])</script><script src="https://staging.osmcha.org/static/js/3.d370e6ae.chunk.js"></script><script src="https://staging.osmcha.org/static/js/main.dbd6ed8b.chunk.js"></script></body></html>
58 changes: 58 additions & 0 deletions precache-manifest.8215a307ede6d8825a462383eec9497d.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "5b936d6b8ab6f4e89f8ab8dcc420b3a4",
"url": "https://staging.osmcha.org/index.html"
},
{
"revision": "7de09579bf2a69f3f92f",
"url": "https://staging.osmcha.org/static/css/3.4a197733.chunk.css"
},
{
"revision": "5f436e96a34edac519ab",
"url": "https://staging.osmcha.org/static/css/main.58e124ad.chunk.css"
},
{
"revision": "8aae1fa3a83c3cab4b3f",
"url": "https://staging.osmcha.org/static/js/2.9470603e.chunk.js"
},
{
"revision": "008e60abd128520991a648a108c4df35",
"url": "https://staging.osmcha.org/static/js/2.9470603e.chunk.js.LICENSE.txt"
},
{
"revision": "7de09579bf2a69f3f92f",
"url": "https://staging.osmcha.org/static/js/3.d370e6ae.chunk.js"
},
{
"revision": "59dc5c12b5002672e7f04fcbf15fc018",
"url": "https://staging.osmcha.org/static/js/3.d370e6ae.chunk.js.LICENSE.txt"
},
{
"revision": "e4f57a456ab1124414f7",
"url": "https://staging.osmcha.org/static/js/4.31b88a6b.chunk.js"
},
{
"revision": "5f436e96a34edac519ab",
"url": "https://staging.osmcha.org/static/js/main.dbd6ed8b.chunk.js"
},
{
"revision": "221fc2be943cc4bb1df0",
"url": "https://staging.osmcha.org/static/js/runtime-main.c35739e6.js"
},
{
"revision": "ed2bb0d2fecd447f6a74dd7581448589",
"url": "https://staging.osmcha.org/static/media/banner.ed2bb0d2.png"
},
{
"revision": "7e04a82a7e23f2adb03169d23beaa602",
"url": "https://staging.osmcha.org/static/media/thumbs-down.7e04a82a.svg"
},
{
"revision": "13d765c5811fc9db3eba173459a6a762",
"url": "https://staging.osmcha.org/static/media/thumbs-up.13d765c5.svg"
},
{
"revision": "195ff4f9fd1d7c4ac421ac9623b9c61f",
"url": "https://staging.osmcha.org/static/media/work_flow.195ff4f9.png"
}
]);
46 changes: 0 additions & 46 deletions precache-manifest.e2fd92902535f14a7ca74268d468f9c9.js

This file was deleted.

17 changes: 11 additions & 6 deletions service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,29 @@
* See https://goo.gl/2aRDsh
*/

importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"https://osmcha.org/precache-manifest.e2fd92902535f14a7ca74268d468f9c9.js"
"https://staging.osmcha.org/precache-manifest.8215a307ede6d8825a462383eec9497d.js"
);

workbox.clientsClaim();
self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});

workbox.core.clientsClaim();

/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute("https://osmcha.org/index.html", {
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("https://staging.osmcha.org/index.html"), {

blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/],
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});
1 change: 0 additions & 1 deletion static/css/2.f4755645.chunk.css.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/css/3.4a197733.chunk.css.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion static/css/main.2e7871b1.chunk.css.map

This file was deleted.

Loading

0 comments on commit 747c832

Please sign in to comment.