File tree Expand file tree Collapse file tree 4 files changed +3
-96
lines changed
Expand file tree Collapse file tree 4 files changed +3
-96
lines changed Original file line number Diff line number Diff line change 77- Removed ` followImports ` config (#53 )
88- Removed configuration system (#53 )
99- Removed source transformation (Babel) (#55 )
10+ - Removed (#57 )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,26 +2,21 @@ const path = require('path')
22const compiler = require ( 'vue-template-compiler' )
33
44require ( './lib/requireHookForVue' )
5- const extractVueComponentPrototype = require ( './lib/vueComponentPrototypeExtractor' )
65const vueTag = require ( './lib/vueTag' )
76const docletHandlers = require ( './lib/docletHandlers' )
87
9- const allVueComponentPrototypes = { }
10-
118exports . handlers = {
129 beforeParse ( e ) {
1310 if ( / \. v u e $ / . test ( e . filename ) ) {
1411 const parsedComponent = compiler . parseComponent ( e . source )
15- const source = parsedComponent . script ? parsedComponent . script . content : ''
1612
17- e . source = source
18- allVueComponentPrototypes [ e . filename ] = extractVueComponentPrototype ( source , e . filename )
13+ e . source = parsedComponent . script ? parsedComponent . script . content : ''
1914 }
2015 } ,
2116 newDoclet ( e ) {
2217 if ( e . doclet . scope === 'vue' ) {
2318 const file = path . join ( e . doclet . meta . path , e . doclet . meta . filename )
24- const vueComponentPrototype = allVueComponentPrototypes [ file ]
19+ const vueComponentPrototype = null //TODO: to be removed
2520
2621 /*
2722 * Dirty tricks, only supports default template at the moment.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments