From 4b55f33243ba126a0360d3b5893d3200a8606a28 Mon Sep 17 00:00:00 2001 From: BobbyWibowo Date: Mon, 19 Sep 2022 00:14:14 +0000 Subject: [PATCH] dist: rebuilt client assets and bumped v1 version string --- dist/js/album.js | 2 +- dist/js/album.js.map | 2 +- src/versions.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/js/album.js b/dist/js/album.js index f4b5755..005a89e 100644 --- a/dist/js/album.js +++ b/dist/js/album.js @@ -1,2 +1,2 @@ -var lsKeys={},page={lazyLoad:null};window.addEventListener("DOMContentLoaded",(function(){for(var e=document.querySelectorAll(".file-size"),n=0;n {\n const elements = document.querySelectorAll('.file-size')\n for (let i = 0; i < elements.length; i++) {\n elements[i].innerHTML = page.getPrettyBytes(parseInt(elements[i].innerHTML.replace(/\\s*B$/i, '')))\n }\n\n page.lazyLoad = new LazyLoad()\n})\n"]} \ No newline at end of file +{"version":3,"sources":["album.js"],"names":["const","lsKeys","page","lazyLoad","window","addEventListener","files","document","querySelectorAll","i","length","sizeElem","querySelector","str","dataset","value","innerHTML","replace","getPrettyBytes","parseInt","dateElem","getPrettyDate","Date","LazyLoad"],"mappings":"AAGAA,IAAMC,OAAS,CAAA,EAETC,KAAO,CACXC,SAAU,MAGZC,OAAOC,iBAAiB,oBAAkB,WAIxC,IAHAL,IAAMM,EAAQC,SAASC,iBAAiB,oBAG/BC,EAAI,EAAGA,EAAIH,EAAMI,OAAQD,IAAK,CACrCT,IAAMW,EAAWL,EAAMG,GAAGG,cAAc,uBACxC,GAAID,EAAU,CACZX,IAAMa,EAAMF,EAASG,QAAQC,OAASJ,EAASK,UAAUC,QAAQ,SAAU,IAC3EN,EAASK,UAAYd,KAAKgB,eAAeC,SAASN,GACpD,CAEAb,IAAMoB,EAAWd,EAAMG,GAAGG,cAAc,uBACxC,GAAIQ,EAAU,CACZpB,IAAMa,EAAMO,EAASN,QAAQC,MAC7BK,EAASJ,UAAYd,KAAKmB,cAAc,IAAIC,KAAqB,IAAhBH,SAASN,IAC5D,CACF,CAEAX,KAAKC,SAAW,IAAIoB,QACtB","file":"album.js","sourcesContent":["/* global LazyLoad */\n\n// eslint-disable-next-line no-unused-vars\nconst lsKeys = {}\n\nconst page = {\n lazyLoad: null\n}\n\nwindow.addEventListener('DOMContentLoaded', () => {\n const files = document.querySelectorAll('.image-container')\n\n // Prettify individual file's data rows\n for (let i = 0; i < files.length; i++) {\n const sizeElem = files[i].querySelector('.details .file-size')\n if (sizeElem) {\n const str = sizeElem.dataset.value || sizeElem.innerHTML.replace(/\\s*B$/i, '')\n sizeElem.innerHTML = page.getPrettyBytes(parseInt(str))\n }\n\n const dateElem = files[i].querySelector('.details .file-date')\n if (dateElem) {\n const str = dateElem.dataset.value\n dateElem.innerHTML = page.getPrettyDate(new Date(parseInt(str) * 1000))\n }\n }\n\n page.lazyLoad = new LazyLoad()\n})\n"]} \ No newline at end of file diff --git a/src/versions.json b/src/versions.json index 113085a..65a8cd9 100644 --- a/src/versions.json +++ b/src/versions.json @@ -1,5 +1,5 @@ { - "1": "1663389516", + "1": "1663546453", "2": "1602515119", "3": "1650485321", "4": "1602515119",