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

Usage of _trackDb is improper in annotation.js #44

Closed
bctcvai opened this issue Jan 7, 2020 · 0 comments
Closed

Usage of _trackDb is improper in annotation.js #44

bctcvai opened this issue Jan 7, 2020 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@bctcvai
Copy link
Member

bctcvai commented Jan 7, 2020

TrackDb object is a map, but object accessors ([]) are used. Instead https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/set and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/get should be used.

this._data._trackDb[localId] = track;

@bctcvai bctcvai added the good first issue Good for newcomers label Jan 7, 2020
@bctcvai bctcvai added this to the 1.1.0 milestone Feb 14, 2023
bctcvai added a commit that referenced this issue Mar 6, 2023
@bctcvai bctcvai closed this as completed in a633103 Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant