mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 14:42:09 +02:00
Remove custom @signal tag
This commit is contained in:
parent
4c7d5c7da7
commit
025326b85f
1 changed files with 0 additions and 23 deletions
|
@ -129,20 +129,6 @@ exports.handlers = {
|
|||
}
|
||||
};
|
||||
|
||||
// Functions for adding @signal custom tag
|
||||
/** @private */
|
||||
function setDocletKindToTitle(doclet, tag) {
|
||||
doclet.addTag( 'kind', tag.title );
|
||||
}
|
||||
|
||||
function setDocletNameToValue(doclet, tag) {
|
||||
if (tag.value && tag.value.description) { // as in a long tag
|
||||
doclet.addTag('name', tag.value.description);
|
||||
} else if (tag.text) { // or a short tag
|
||||
doclet.addTag('name', tag.text);
|
||||
}
|
||||
}
|
||||
|
||||
// Define custom hifi tags here
|
||||
exports.defineTags = function (dictionary) {
|
||||
|
||||
|
@ -173,14 +159,5 @@ exports.defineTags = function (dictionary) {
|
|||
doclet.hifiServerEntity = true;
|
||||
}
|
||||
});
|
||||
|
||||
// @signal
|
||||
dictionary.defineTag("signal", {
|
||||
mustHaveValue: true,
|
||||
onTagged: function(doclet, tag) {
|
||||
setDocletKindToTitle(doclet, tag);
|
||||
setDocletNameToValue(doclet, tag);
|
||||
}
|
||||
});
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue