dojox.uuid.Uuid.setGenerator
dojo.require("dojox.uuid.Uuid");
defined in dojox/uuid/Uuid.js
Sets the default generator, which will be used by the "new dojox.uuid.Uuid()" constructor if no parameters are passed in.
Usage
function (/*Function?*/ generator) (view source)
parameter | type | description |
---|---|---|
generator | Function | Optional. A UUID generator function, such as dojox.uuid.generateTimeBasedUuid. |