mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-14 23:26:18 +00:00
22 lines
541 B
JavaScript
22 lines
541 B
JavaScript
"use strict";
|
|
exports.defineTags = function(dictionary) {
|
|
|
|
dictionary.defineTag("template", {
|
|
mustHaveValue: true,
|
|
canHaveType: false,
|
|
canHaveName: false,
|
|
onTagged: function(doclet, tag) {
|
|
(doclet.templates || (doclet.templates = [])).push(tag.text);
|
|
}
|
|
});
|
|
|
|
dictionary.defineTag("tstype", {
|
|
mustHaveValue: true,
|
|
canHaveType: false,
|
|
canHaveName: false,
|
|
onTagged: function(doclet, tag) {
|
|
doclet.tsType = tag.text;
|
|
}
|
|
});
|
|
};
|