mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-05 06:57:35 -04:00
Fix code format of JSDoc synonym plugin
This commit is contained in:
+5
-5
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user