No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

plugin.js 541B

123456789101112131415161718192021
  1. "use strict";
  2. exports.defineTags = function(dictionary) {
  3. dictionary.defineTag("template", {
  4. mustHaveValue: true,
  5. canHaveType: false,
  6. canHaveName: false,
  7. onTagged: function(doclet, tag) {
  8. (doclet.templates || (doclet.templates = [])).push(tag.text);
  9. }
  10. });
  11. dictionary.defineTag("tstype", {
  12. mustHaveValue: true,
  13. canHaveType: false,
  14. canHaveName: false,
  15. onTagged: function(doclet, tag) {
  16. doclet.tsType = tag.text;
  17. }
  18. });
  19. };