mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-06 16:33:15 +01:00
13 lines
175 B
JavaScript
13 lines
175 B
JavaScript
|
|
let ID_COUNTER = 0;
|
|
|
|
export const Generator = {
|
|
genID : function() {
|
|
return ID_COUNTER ++;
|
|
},
|
|
|
|
resetIDGenerator : function(value) {
|
|
ID_COUNTER = value;
|
|
}
|
|
};
|
|
|