Closed brianmtully closed 9 years ago
@brianmtully This actually intended to be override-able, so instead of needing to PR, you can do the following in your code:
machina.utils.makeFsmNamespace = ( function() {
var machinaCount = 0;
return function() {
return "fsm" + machinaCount++;
};
} )();
The intent of exposing utils
was to allow for intelligent defaults to be overridden where needed.
I actually realized that after the PR. Thanks.
awesome, no worries :)
Removed '.' from the generated namespace to enable saving machina data in MongoDB.