diff --git a/lib/jsdoc/tag/dictionary/definitions.js b/lib/jsdoc/tag/dictionary/definitions.js index 71d75dfd..f3d717c0 100644 --- a/lib/jsdoc/tag/dictionary/definitions.js +++ b/lib/jsdoc/tag/dictionary/definitions.js @@ -380,17 +380,6 @@ exports.defineTags = function(dictionary) { } }); - dictionary.defineTag('exception', { - mustHaveValue: true, - canHaveType: true, - onTagged: function(doclet, tag) { - if (!doclet.exceptions) { doclet.exceptions = []; } - doclet.exceptions.push(tag.value); - setDocletTypeToValueType(doclet, tag); - } - }) - .synonym('throws'); - dictionary.defineTag('exports', { mustHaveValue: true, onTagged: function(doclet, tag) { @@ -698,6 +687,17 @@ exports.defineTags = function(dictionary) { } }); + dictionary.defineTag('throws', { + mustHaveValue: true, + canHaveType: true, + onTagged: function(doclet, tag) { + if (!doclet.exceptions) { doclet.exceptions = []; } + doclet.exceptions.push(tag.value); + setDocletTypeToValueType(doclet, tag); + } + }) + .synonym('exception'); + dictionary.defineTag('tutorial', { mustHaveValue: true, onTagged: function(doclet, tag) {