mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Merge pull request #3243 from minrk/less-shouty
make js-generated UUIDs lowercase
This commit is contained in:
commit
ae7d39af1e
@ -208,7 +208,7 @@ define([
|
|||||||
* http://www.ietf.org/rfc/rfc4122.txt
|
* http://www.ietf.org/rfc/rfc4122.txt
|
||||||
*/
|
*/
|
||||||
var s = [];
|
var s = [];
|
||||||
var hexDigits = "0123456789ABCDEF";
|
var hexDigits = "0123456789abcdef";
|
||||||
for (var i = 0; i < 32; i++) {
|
for (var i = 0; i < 32; i++) {
|
||||||
s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
|
s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user