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

fix(examples): fix that a marker is not displayed due to an id collision #128

Merged
merged 2 commits into from
Oct 7, 2019
Merged

fix(examples): fix that a marker is not displayed due to an id collision #128

merged 2 commits into from
Oct 7, 2019

Conversation

ryamaguchi0220
Copy link
Contributor

Closes #127

Copy link
Member

@yotamberk yotamberk left a comment

Choose a reason for hiding this comment

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

We appreciate the PR. Can you please refer to the review comments?

Comment on lines 33 to 34
var id1 = '93b8a81c-c1fd-4800-9cdd-ee8d0ac445b0';
var id2 = '19ddf917-5434-4bb8-a8c7-24ca09eb7e09';
Copy link
Member

Choose a reason for hiding this comment

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

Why a long uuid? Can we not simply use a simple id1 and id2 strings?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think both of id strings would not cause any problems in this case. So it seems certainly better to use the simple ids instead of the uuids.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 7079116

@yotamberk yotamberk merged commit 5df1179 into visjs:master Oct 7, 2019
@ryamaguchi0220 ryamaguchi0220 deleted the issue/127 branch October 7, 2019 05:52
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.

One of the custom time markers in the example is not displayed
2 participants