0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-27 13:53:09 +00:00

change legacy snippets to use named exports and move from dedent-tabs to dedent

This commit is contained in:
Víctor Losada Hernández
2026-01-23 17:38:16 +01:00
parent b72e5b9172
commit dbeff56ffa
27 changed files with 1073 additions and 3262 deletions

View File

@@ -1,6 +1,6 @@
import _ from 'lodash';
export default function(classname){
function classFeatureGen(classname) {
classname = _.sample(['archivist', 'fancyman', 'linguist', 'fletcher',
'notary', 'berserker-typist', 'fishmongerer', 'manicurist', 'haberdasher', 'concierge']);
@@ -49,4 +49,6 @@ export default function(classname){
`- ${_.sample(['10 lint fluffs', '1 button', 'a cherished lost sock'])}`,
'\n\n\n'
].join('\n');
};
}
export default classFeatureGen;