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

add properties to schema #48

Merged
merged 6 commits into from
Nov 21, 2023
Merged

Conversation

dqnykamp
Copy link
Member

No description provided.

@dqnykamp dqnykamp merged commit ab681c8 into Doenet:main Nov 21, 2023
1 check passed
@dqnykamp dqnykamp deleted the schema-properties branch November 21, 2023 20:35
};

if (description.isArray) {
let numDimensions = description.numDimensions || 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose description.numDimensions can never be zero?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right, it needs to be a positive integer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants