Skip to content

Commit

Permalink
Export ColorSpace from spaces/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaVerou committed May 24, 2024
1 parent 4cbe7db commit 719ab1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/spaces/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import ColorSpace from "../space.js";
import * as spaces from "./index-fn.js";

export * as spaces from "./index-fn.js";

for (let key of Object.keys(spaces)) {
ColorSpace.register(spaces[key]);
}

export * as spaces from "./index-fn.js";
export default ColorSpace;

0 comments on commit 719ab1b

Please sign in to comment.