From 026c7149c839a7497ca4e926f8ad553f2f596fef Mon Sep 17 00:00:00 2001 From: ahocevar Date: Tue, 25 Mar 2014 18:21:55 +0100 Subject: [PATCH] Fix @override documentation --- apidoc/plugins/inheritdoc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apidoc/plugins/inheritdoc.js b/apidoc/plugins/inheritdoc.js index 136bf385c8..4c2f571844 100644 --- a/apidoc/plugins/inheritdoc.js +++ b/apidoc/plugins/inheritdoc.js @@ -1,5 +1,5 @@ /* - * This is a hack to prevent inheritDoc and override tags from entirely removing + * This is a hack to prevent inheritDoc tags from entirely removing * documentation of the method that inherits the documentation. * * TODO: Remove this hack when https://github.com/jsdoc3/jsdoc/issues/53 @@ -8,7 +8,7 @@ exports.nodeVisitor = { visitNode: function(node, e, parser, currentSourceName) { - if (/@(inheritDoc|override)(\n|\r)/.test(e.comment)) { + if (/@(inheritDoc)(\n|\r)/.test(e.comment)) { e.preventDefault = true; } }