Fix code format of JSDoc synonym plugin

This commit is contained in:
Alexandre G.-Raymond 2023-11-11 15:44:15 +01:00
parent 2aff31fe06
commit bfff38a262
No known key found for this signature in database
GPG Key ID: 97BA9F51695B5C7B

View File

@ -7,11 +7,11 @@ This program is free software: you can redistribute it and/or modify it under th
function defineTags(dictionary) {
dictionary.defineTag('synonyms', {
mustHaveValue: true,
onTagged: function(doclet, tag) {
onTagged: function (doclet, tag) {
doclet.synonyms_text = tag.value;
doclet.synonyms = doclet.synonyms_text.split(/[ ,]+/);
}
});
};
},
});
}
module.exports = {defineTags: defineTags}
module.exports = { defineTags: defineTags };