Use correct config for tags which must not have a value.

This commit is contained in:
Maximilian Krög
2020-01-18 17:43:30 +01:00
parent 2f094978ca
commit 9cc7ef4b96
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
*/ */
exports.defineTags = function(dictionary) { exports.defineTags = function(dictionary) {
dictionary.defineTag('api', { dictionary.defineTag('api', {
mustHaveValue: false, mustNotHaveValue: true,
canHaveType: false, canHaveType: false,
canHaveName: false, canHaveName: false,
onTagged: function(doclet, tag) { onTagged: function(doclet, tag) {

View File

@@ -5,7 +5,7 @@
exports.defineTags = function(dictionary) { exports.defineTags = function(dictionary) {
dictionary.defineTag('inheritDoc', { dictionary.defineTag('inheritDoc', {
mustHaveValue: false, mustNotHaveValue: true,
canHaveType: false, canHaveType: false,
canHaveName: false, canHaveName: false,
onTagged: function(doclet, tag) { onTagged: function(doclet, tag) {

View File

@@ -6,7 +6,7 @@ exports.defineTags = function(dictionary) {
const classTag = dictionary.lookUp('class'); const classTag = dictionary.lookUp('class');
dictionary.defineTag('interface', { dictionary.defineTag('interface', {
mustHaveValue: false, mustNotHaveValue: true,
onTagged: function(doclet, tag) { onTagged: function(doclet, tag) {
classTag.onTagged.apply(this, arguments); classTag.onTagged.apply(this, arguments);
doclet.virtual = true; doclet.virtual = true;