Skip to content

Commit f46e64a

Browse files
committed
no hyphens in JS function names, duh
1 parent 1d3c348 commit f46e64a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css-color-4/conversions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function gam_a98rgb(RGB) {
166166
});
167167
}
168168

169-
function lin_a98-rgb_to_XYZ(rgb) {
169+
function lin_a98rgb_to_XYZ(rgb) {
170170
// convert an array of linear-light a98-rgb values to CIE XYZ
171171
// using D50 (so no chromatic adaptation needed afterwards)
172172
// http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
@@ -181,7 +181,7 @@ function lin_a98-rgb_to_XYZ(rgb) {
181181
return Math.multiply(M, rgb).valueOf();
182182
}
183183

184-
function XYZ_to_lin_a98-rgb(XYZ) {
184+
function XYZ_to_lin_a98rgb(XYZ) {
185185
// convert XYZ to linear-light a98-rgb
186186
var M = Math.matrix([
187187
[ 2.0415879038107465, -0.5650069742788596, -0.34473135077832956 ],

0 commit comments

Comments
 (0)