mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
- Switched to a new Rhino fork: https://github.com/jsdoc3/rhino (currently reflects mozilla/rhino HEAD + enhancements for JSDoc) - Removed jsdoc/util/global; new Rhino fork provides a `global` alias just like Node.js - Moved most of jsdoc.js into cli.js, and refactored for clarity
32 lines
850 B
JavaScript
32 lines
850 B
JavaScript
global.jsdocPluginsTest.plugin1 = {};
|
|
|
|
exports.handlers = {
|
|
fileBegin: function() {
|
|
global.jsdocPluginsTest.plugin1.fileBegin = true;
|
|
},
|
|
beforeParse: function() {
|
|
global.jsdocPluginsTest.plugin1.beforeParse = true;
|
|
},
|
|
jsdocCommentFound: function() {
|
|
global.jsdocPluginsTest.plugin1.jsdocCommentFound = true;
|
|
},
|
|
symbolFound: function() {
|
|
global.jsdocPluginsTest.plugin1.symbolFound = true;
|
|
},
|
|
newDoclet: function() {
|
|
global.jsdocPluginsTest.plugin1.newDoclet = true;
|
|
},
|
|
fileComplete: function() {
|
|
global.jsdocPluginsTest.plugin1.fileComplete = true;
|
|
}
|
|
};
|
|
|
|
exports.defineTags = function(dictionary) {
|
|
dictionary.defineTag("foo", {
|
|
canHaveName: true,
|
|
onTagged: function(doclet, tag) {
|
|
doclet.foo = true;
|
|
}
|
|
});
|
|
};
|