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

Make sure ids are going to be unique #102

Closed
justinbmeyer opened this issue Feb 24, 2017 · 0 comments
Closed

Make sure ids are going to be unique #102

justinbmeyer opened this issue Feb 24, 2017 · 0 comments
Labels

Comments

@justinbmeyer
Copy link
Contributor

If you create a folder in the following jsbin ( http://jsbin.com/vasixip/edit?html,js,output ), the root folder name is always changed because there are conflicts with ids.

currentId should start at least higher than the number of records:

var currentId = 0,

andrejewski added a commit that referenced this issue Apr 24, 2017
andrejewski added a commit that referenced this issue Apr 24, 2017
Make IDs always unique; fixes #102
andrejewski added a commit that referenced this issue May 24, 2017
Make IDs unique based on existing items; fixes #102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant