From 693572be4c654b9e38eeb94ab6cbdb65a609e3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Tue, 2 Jun 2020 16:17:14 +0200 Subject: [PATCH] deliberate ES6 syntax (rationale: don't let people install @2 in a build system that will not alert them that we have moved to ES6, only to cause trouble with a later release.) --- src/lab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lab.js b/src/lab.js index b27196e..02545c4 100644 --- a/src/lab.js +++ b/src/lab.js @@ -3,7 +3,7 @@ import {Color, rgbConvert, Rgb} from "./color.js"; import {deg2rad, rad2deg} from "./math.js"; // https://observablehq.com/@mbostock/lab-and-rgb -var K = 18, +const K = 18, Xn = 0.96422, Yn = 1, Zn = 0.82521,