10 lines
200 B
JavaScript
10 lines
200 B
JavaScript
|
GameLib.D3.Tools = function(){};
|
||
|
|
||
|
/**
|
||
|
* Generates a random ID
|
||
|
* @returns {string}
|
||
|
* @constructor
|
||
|
*/
|
||
|
GameLib.D3.Tools.RandomId = function() {
|
||
|
return Math.random().toString(36).substr(2, 10);
|
||
|
};
|