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

Added some missing dom methods and properties #313

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

niloc132
Copy link
Contributor

@niloc132 niloc132 commented Nov 5, 2017

These are broken into distinct commits, let me know if you want to get them merged one at a time.

public interface DOMTokenList extends JSArrayReader<JSString> {
boolean contains(String token);

void add(String... tokens);
Copy link
Owner

Choose a reason for hiding this comment

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

I'm not sure if varargs are supported in JSO. Please check. If they aren't, let's think how we can work-around this. And don't forget to create an issue to support vararg.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A good question - I'll verify more thoroughly, but I can verify that calling add(String...) with a single argument does work as expected presently.

Ihromant added a commit to Ihromant/teavm that referenced this pull request Nov 23, 2023
Ihromant added a commit to Ihromant/teavm that referenced this pull request Nov 23, 2023
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