##// END OF EJS Templates
Merge pull request #8339 from takluyver/ascii-completions-test-cwd...
Merge pull request #8339 from takluyver/ascii-completions-test-cwd Make ascii completion test ignore local files

File last commit:

r19510:2bb1f2b3
r21283:8a631498 merge
Show More
jsdoc_plugin.js
11 lines | 448 B | application/javascript | JavascriptLexer
Jonathan Frederic
Write a plugin to handle private function automatically.
r19510 exports.handlers = {
newDoclet: function(e) {
// e.doclet will refer to the newly created doclet
// you can read and modify properties of that doclet if you wish
if (typeof e.doclet.name === 'string') {
if (e.doclet.name[0] == '_') {
console.log('Private method "' + e.doclet.longname + '" not documented.');
e.doclet.memberof = '<anonymous>';
}
}
}
};