chembl / curation-interface

This is repository to track all bugs and issues related to development of the curation interface
0 stars 0 forks source link

Change guid() function to _.uniqueId #97

Open mnowotka opened 9 years ago

mnowotka commented 9 years ago

Many times when creating new DOM element there is a need to assign new id, which should be unique. To do this I've implemented guid() function but there is a better and well know function defined in underscore.js called _.uniqueId and this one should be used instead.