r3-legacy/src/game-lib-tools.js

10 lines
200 B
JavaScript
Raw Normal View History

2016-10-28 15:28:34 +02:00
GameLib.D3.Tools = function(){};
/**
* Generates a random ID
* @returns {string}
* @constructor
*/
GameLib.D3.Tools.RandomId = function() {
return Math.random().toString(36).substr(2, 10);
};