File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,13 @@ exports.handlers = {
2222 const fullPath = `${ e . doclet . meta . path } /${ e . doclet . meta . filename } ` ;
2323 const componentName = e . doclet . meta . filename . replace ( / \. v u e $ / , '' ) ;
2424
25- // if (e.doclet.memberof === 'module.exports') {
26- // e.doclet.memberof = componentName
27- // }
28- //
29- // if (e.doclet.longname.startsWith('module.exports.')) {
30- // e.doclet.longname = e.doclet.longname.replace('module.exports.', componentName)
31- // }
32-
3325 // The main doclet before `export default {}`
3426 if ( e . doclet . longname === 'module.exports' ) {
3527 mainDocletLines [ fullPath ] = e . doclet . meta . lineno ;
3628 }
3729
30+ // It can be the main doclet before `export default {}`
31+ // with at least one `@vue-*` tag
3832 if ( e . doclet . _isVueDoc ) {
3933 const { renderer } = config [ 'jsdoc-vuejs' ] ;
4034 const props = e . doclet . _vueProps || [ ] ;
@@ -51,6 +45,7 @@ exports.handlers = {
5145 delete e . doclet . meta ;
5246 }
5347
48+ // Methods and hooks
5449 if ( e . doclet . kind === 'function' ) {
5550 if ( e . doclet . memberof . endsWith ( '.methods' ) ) {
5651 e . doclet . scope = 'instance' ;
You can’t perform that action at this time.
0 commit comments