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

[web-animations-1] fix code example by handling Animation.finished with .then() #8351

Merged
merged 1 commit into from
Jan 28, 2023

Conversation

ninevra
Copy link
Contributor

@ninevra ninevra commented Jan 23, 2023

A code example calls Animation.finished() with a callback function. Animation.finished is a promise and not callable. This PR changes the code example to use Animation.finished.then(), not Animation.finished().

`Animation.finished` is a promise and not callable. To attach a handler, use `Animation.finished.then()`, not `Animation.finished()`.
@birtles birtles self-requested a review January 23, 2023 05:05
@ninevra
Copy link
Contributor Author

ninevra commented Jan 27, 2023

Hi - is there anything I need to do to make this mergeable? I'm not clear on how the IPR process is supposed to work (though this seems like a non-substantive change to me).

@birtles
Copy link
Contributor

birtles commented Jan 28, 2023

Hi - is there anything I need to do to make this mergeable? I'm not clear on how the IPR process is supposed to work (though this seems like a non-substantive change to me).

I'm afraid I'm not sure either. Apparently the staff contact should get a mail about this?

#6866 (comment)

(Maybe @svgeesus knows?)

I think it's a non-substantive change so I can just admin merge it--I was hoping to find that written down somewhere but I couldn't find it.

I asked on #css but didn't get a response (yet) so I'm just going to merge it.

@birtles birtles merged commit 7b56589 into w3c:main Jan 28, 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