Skip to content

Commit

Permalink
deliberate ES6 syntax
Browse files Browse the repository at this point in the history
(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.)
  • Loading branch information
Fil committed Jun 2, 2020
1 parent e87dc62 commit 693572b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lab.js
Expand Up @@ -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,
Expand Down

0 comments on commit 693572b

Please sign in to comment.