Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New: bring old perseus kas #29

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {parse, compare} from "./kas/src";
// 為了使答案驗證跟均一舊版 perseus 行為一樣,我們從均一舊 code 搬來 old-kas 使用
import { KAS } from "./kas/src/old-kas";
esp10mm marked this conversation as resolved.
Show resolved Hide resolved
import {init, Widgets, Renderer, Dependencies} from "./perseus/src";
import Interactive2 from "./perseus/src/interactive2";
import KhanUtils from "./perseus/src/util";
Expand Down Expand Up @@ -40,6 +41,8 @@ export interface PerseusCore {
Dependencies: typeof Dependencies;
}

const { parse, compare } = KAS;

export {
init,
Widgets,
Expand Down
Loading