-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
getAnnotations and clearAnnotations use different data structures for empty set. #1253
Comments
Thanks for the super-fast fix! After creating the issue I decided to fix it myself, including writing a test case, before I saw your fix. Please consider including my pull request #1257 (rebased on top of your commit). |
This was referenced Nov 17, 2020
This was referenced Sep 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
getAnnotations
returns an array andclearAnnotations
uses an object:This causes an error when trying to add a single new annotation:
The text was updated successfully, but these errors were encountered: