diff options
| author | Adam Soltys <[email protected]> | 2024-10-18 09:08:07 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-18 09:09:14 -0700 |
| commit | 002cd9134d2e23bec34f838f6d6fefba41f2d530 (patch) | |
| tree | 92fa0e0ab54ce1a715d25f458de8b8ed8cc70bd5 /static | |
| parent | f6bfe889d91bc6e36b0300d7b618f10158efe176 (diff) | |
| download | coinos-ui-002cd9134d2e23bec34f838f6d6fefba41f2d530.tar.gz coinos-ui-002cd9134d2e23bec34f838f6d6fefba41f2d530.zip | |
biome format
Diffstat (limited to 'static')
| -rw-r--r-- | static/manifest.webmanifest | 58 | ||||
| -rw-r--r-- | static/qr.js | 8 | ||||
| -rw-r--r-- | static/shopify.html | 6 |
3 files changed, 36 insertions, 36 deletions
diff --git a/static/manifest.webmanifest b/static/manifest.webmanifest index 15f55603..2076ccf4 100644 --- a/static/manifest.webmanifest +++ b/static/manifest.webmanifest @@ -1,7 +1,7 @@ { "theme_color": "#fff", "background_color": "#000", - "display": "fullscreen", + "display": "standalone", "scope": "/", "start_url": "/start", "name": "Coinos", @@ -58,34 +58,34 @@ } ], "screenshots": [ - { - "src": "/home.png", - "sizes": "801x920", - "type": "image/png", - "label": "Homepage", - "form_factor": "wide" - }, - { - "src": "/receive.png", - "sizes": "801x920", - "type": "image/png", - "label": "Receive", - "form_factor": "wide" - }, - { - "src": "/home.png", - "sizes": "801x920", - "type": "image/png", - "label": "Homepage", - "form_factor": "narrow" - }, - { - "src": "/receive.png", - "sizes": "801x920", - "type": "image/png", - "label": "Receive", - "form_factor": "narrow" - } + { + "src": "/home.png", + "sizes": "801x920", + "type": "image/png", + "label": "Homepage", + "form_factor": "wide" + }, + { + "src": "/receive.png", + "sizes": "801x920", + "type": "image/png", + "label": "Receive", + "form_factor": "wide" + }, + { + "src": "/home.png", + "sizes": "801x920", + "type": "image/png", + "label": "Homepage", + "form_factor": "narrow" + }, + { + "src": "/receive.png", + "sizes": "801x920", + "type": "image/png", + "label": "Receive", + "form_factor": "narrow" + } ], "protocol_handlers": [ { diff --git a/static/qr.js b/static/qr.js index e8a68e2b..dd8ce879 100644 --- a/static/qr.js +++ b/static/qr.js @@ -320,7 +320,7 @@ var qrcode = function (typeNumber, errorCorrectLevel) { buffer.put(data.getMode(), 4); buffer.put( data.getLength(), - QRUtil.getLengthInBits(data.getMode(), typeNumber) + QRUtil.getLengthInBits(data.getMode(), typeNumber), ); data.write(buffer); } @@ -337,7 +337,7 @@ var qrcode = function (typeNumber, errorCorrectLevel) { buffer.getLengthInBits() + ">" + totalDataCount * 8 + - ")" + ")", ); } @@ -946,7 +946,7 @@ function qrPolynomial(num, shift) { for (var i = 0; i < _this.getLength(); i += 1) { for (var j = 0; j < e.getLength(); j += 1) { num[i + j] ^= QRMath.gexp( - QRMath.glog(_this.getAt(i)) + QRMath.glog(e.getAt(j)) + QRMath.glog(_this.getAt(i)) + QRMath.glog(e.getAt(j)), ); } } @@ -1178,7 +1178,7 @@ var QRRSBlock = (function () { "bad rs block @ typeNumber:" + typeNumber + "/errorCorrectLevel:" + - errorCorrectLevel + errorCorrectLevel, ); } diff --git a/static/shopify.html b/static/shopify.html index ef338d35..5ce718df 100644 --- a/static/shopify.html +++ b/static/shopify.html @@ -10,7 +10,7 @@ "⚡️" + (parseInt(s) > 0 ? new Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format( - s / Math.pow(1000, d) + s / Math.pow(1000, d), ) + ["", "K", "M", "G", "T", "P", "E", "Z"][d] : 0 ).toString() @@ -42,7 +42,7 @@ link.setAttribute("type", "text/css"); link.setAttribute( "href", - "https://fonts.googleapis.com/css?family=Public+Sans:400italic,400,300,700" + "https://fonts.googleapis.com/css?family=Public+Sans:400italic,400,300,700", ); var style = document.createElement("style"); @@ -91,7 +91,7 @@ <div style="width: 100%; text-align: center; "> <div style="font-size: 24px; font-weight: bold; margin-bottom: 12px;">${f( (data.amount * data.rate) / 100000000, - data.currency + data.currency, )}</div> <div style="color: #666; font-size: 18px;">${sat(data.amount)}</div> </div> |
