- commit
- d18073c92c1f95b9e224ff672e7c4e36d4c01f1b
- parent
- 7f98da84eec120329e3565074406c7930bbe4bdd
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-09-14 08:51
fix indentation
Diffstat
| M | analysis.md | 6 | +++--- |
1 files changed, 3 insertions, 3 deletions
diff --git a/analysis.md b/analysis.md
@@ -249,7 +249,7 @@ function contrast(fg, bg) {
249 249 };
250 250
251 251 function normalize(c) {
252 -1 return Math.log(c) / Math.log(21);
-1 252 return Math.log(c) / Math.log(21);
253 253 }
254 254 ```
255 255
@@ -269,7 +269,7 @@ function sRGBtoY(srgb) {
269 269 }
270 270
271 271 function YtoJ(y) {
272 -1 return Math.pow(y, 0.6);
-1 272 return Math.pow(y, 0.6);
273 273 }
274 274
275 275 function contrast(fg, bg) {
@@ -287,7 +287,7 @@ function contrast(fg, bg) {
287 287 };
288 288
289 289 function normalize(c) {
290 -1 return (c / 100 + 0.027) / 1.14;
-1 290 return (c / 100 + 0.027) / 1.14;
291 291 }
292 292 ```
293 293