Sha256: 3f9a8c31a123e239b2d85bb3035f2967609db1fa35a7ae32eedc3cb596040f91
Contents?: true
Size: 1.06 KB
Versions: 39
Compression:
Stored size: 1.06 KB
Contents
JSDOC.PluginManager.registerPlugin("InterfacePlugin", { // Called during the construction of the Symbol onSymbol: function(symbol) { if (!symbol.comment) return; if (symbol.comment.getTag("interface").length) symbol.isInterface= true; }, onDocCommentTags: function(comment) { var interfaceTag= comment.getTag("interface"); if (!interfaceTag || !interfaceTag.length) return; interfaceTag= interfaceTag[0]; if (!comment.getTag("class").length) comment.tags.push(new JSDOC.DocTag("class " + interfaceTag.desc)); if (!comment.getTag("name").length) comment.tags.push(new JSDOC.DocTag("name " + interfaceTag.name)); }, onDocTag: function(tag) { switch (tag.title) { case 'interface': tag.desc= tag.nibbleName(tag.desc); break; case 'implements': tag.desc= tag.nibbleName(tag.desc); break; } } });
Version data entries
39 entries across 39 versions & 1 rubygems