make js-generated UUIDs lowercase

so it's less shouty when debugging messages

We don't ever need official UUIDs as specified, just sufficiently random strings.
This commit is contained in:
Min RK 2018-01-22 13:49:09 +01:00
parent 0254c8bc01
commit 44c99143e9

View File

@ -208,7 +208,7 @@ define([
* http://www.ietf.org/rfc/rfc4122.txt
*/
var s = [];
var hexDigits = "0123456789ABCDEF";
var hexDigits = "0123456789abcdef";
for (var i = 0; i < 32; i++) {
s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
}