Skip to content

Commit

Permalink
Export helper keScoreFromPerseusScore as its used externally
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywiebe committed Dec 6, 2024
1 parent 11f9483 commit a3a5230
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/perseus/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ export {default as TableWidget} from "./widgets/table";
export {default as PlotterWidget} from "./widgets/plotter";
export {default as GrapherWidget} from "./widgets/grapher";

// Some utils in grapher/utils don't need to be used outside of `perseus`,
// so only export the stuff that does need to be exposed
// Some utils in grapher/utils and scoring don't need to be used outside of
// `perseus`, so only export the stuff that does need to be exposed
import {keScoreFromPerseusScore} from "./util/scoring";
import {
allTypes,
DEFAULT_GRAPHER_PROPS,
Expand All @@ -57,6 +58,10 @@ export const GrapherUtil = {
typeToButton,
};

export const ScoringUtil = {
keScoreFromPerseusScore,
};

/**
* Misc
*/
Expand Down

0 comments on commit a3a5230

Please sign in to comment.