Tags, templates, and basic styles for JavaScript.

This plugin registers onto these hooks:

  • tags
  • processor
  • html

Registering the tag hook adds JavaScript-related tags:

Registering the processor hook adds a processor for *.js files that gets code comments in JavaScript, and processes tags like @function and @param into docObjects that are subsequently added to the docMap.

The processor is also smart enough process regular comments above functions that have not explicitly been documented with closure type annotations, and extracts basic signature information such as parameters or return type.

Registering the html hook adds a mustache template used to generate the HTML for the tags added by this plugin.