Skip to content

Update API documentation for Window.prompt().#1597

Merged
digisomni merged 1 commit into
vircadia:masterfrom
SilverfishVR:master
Feb 13, 2022
Merged

Update API documentation for Window.prompt().#1597
digisomni merged 1 commit into
vircadia:masterfrom
SilverfishVR:master

Conversation

@SilverfishVR

Copy link
Copy Markdown
Contributor

Documentation for Window.prompt() states that if the user click "Cancel" it will return ""
It does, in fact return null, I don't know if that is intentional but arguments could be made for both.

This just updates the documentation and the example .

Documentation for Window.prompt() states that if the user click "Cancel" it will return ""
It does, in fact return null, I don't know if that is intentional but arguments could be made for both.

This just updates the documentation and the example .
@digisomni digisomni added CR Approved At least one code reviewer has approved the PR. docs Improvements or additions to documentation labels Feb 13, 2022
@digisomni digisomni added this to the 2022.1.1 Selene Release milestone Feb 13, 2022
@digisomni digisomni changed the title update documentation for Window.prompt() Update API documentation for Window.prompt() Feb 13, 2022
@digisomni digisomni changed the title Update API documentation for Window.prompt() Update API documentation for Window.prompt(). Feb 13, 2022

@digisomni digisomni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just tested it and that indeed seems to be the case, thanks!

@digisomni digisomni merged commit 3c8972e into vircadia:master Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CR Approved At least one code reviewer has approved the PR. docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants