Allow uuid() to be called statically.

This commit is contained in:
Ian Gulliver
2015-12-27 21:08:36 -08:00
parent 53840a0cdd
commit fdd1b85539

View File

@@ -674,6 +674,13 @@ Cosmopolite.prototype.uuid = function() {
};
/**
* @see https://www.cosmopolite.org/reference#uuid
* @return {string}
*/
Cosmopolite.uuid = Cosmopolite.prototype.uuid;
/**
* Build a new Promise object with exception handling.
*