mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
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:
parent
0254c8bc01
commit
44c99143e9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user