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.
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.