-
Notifications
You must be signed in to change notification settings - Fork 352
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
Add some comments to external APIs #2272
base: main
Are you sure you want to change the base?
Conversation
Size Change: +142 B (+0.02%) Total Size: 873 kB
ℹ️ View Unchanged
|
npm Snapshot: PublishedGood news!! We've packaged up the latest commit from this PR (0340bef) and published it to npm. You Example: pnpm add @khanacademy/perseus@PR2272 If you are working in Khan Academy's webapp, you can run: ./dev/tools/bump_perseus_version.sh -t PR2272 |
@@ -5,6 +5,11 @@ import {getUpgradedWidgetOptions} from "../widgets/upgrade"; | |||
|
|||
import type {PerseusRenderer} from "../data-schema"; | |||
|
|||
/** | |||
* get a copy of a Perseus item with pre-scoring data removed (ie answers) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we agreed to call this rubric data.
* get a copy of a Perseus item with pre-scoring data removed (ie answers) | |
* Return a copy of a Perseus item with rubric data removed (ie answers) |
/** | ||
* get a copy of a Perseus item with pre-scoring data removed (ie answers) | ||
* | ||
* @param originalItem - the full answer data, includes the correct answer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param originalItem - the full answer data, includes the correct answer | |
* @param originalItem - the original, full Perseus item (which includes the rubric - aka answer data) |
Summary:
Jeremy asked me to add some comments