Zionetrix::Git
Repositories
Help
Report an Issue
MyCo
Code
Commits
Branches
Tags
Search
Tree:
4baf634
Branches
Tags
master
MyCo
inc
lib
uuid.js
Use UUID as Contribution identifier and keep trace of deleted contributions
Benjamin Renard
commited
4baf634
at 2014-01-13 23:32:29
uuid.js
Blame
History
Raw
generate_uuid=function() { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8); return v.toString(16); }); }