mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +00:00
Fix code format of JSDoc synonym plugin
This commit is contained in:
parent
2aff31fe06
commit
bfff38a262
@ -7,11 +7,11 @@ This program is free software: you can redistribute it and/or modify it under th
|
|||||||
function defineTags(dictionary) {
|
function defineTags(dictionary) {
|
||||||
dictionary.defineTag('synonyms', {
|
dictionary.defineTag('synonyms', {
|
||||||
mustHaveValue: true,
|
mustHaveValue: true,
|
||||||
onTagged: function(doclet, tag) {
|
onTagged: function (doclet, tag) {
|
||||||
doclet.synonyms_text = tag.value;
|
doclet.synonyms_text = tag.value;
|
||||||
doclet.synonyms = doclet.synonyms_text.split(/[ ,]+/);
|
doclet.synonyms = doclet.synonyms_text.split(/[ ,]+/);
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
|
||||||
module.exports = {defineTags: defineTags}
|
module.exports = { defineTags: defineTags };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user