File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -687,10 +687,9 @@ if(activeComp.state.length || activeComp.actions.length){
687
687
returnStatement += ` ${state }, \n `
688
688
689
689
});
690
- // line 22
691
690
}
692
691
693
- data += ' \n }; '
692
+ data += ' \n '
694
693
695
694
// if true add methods section and populate with actions
696
695
let methods = " " ;
@@ -757,16 +756,14 @@ if(activeComp.state.length || activeComp.actions.length){
757
756
output += methods ;
758
757
759
758
if (exportAsTypescript .value === " on" ) {
760
- output += " });\n <\/ script>\n\n <style scoped>\n </style>" ;
761
- } else if (activeComp .state .length || activeComp .actions .length ) {
762
- output += ` \n }; \n ${returnStatement } };
763
- \n <\/ script>\n\n <style scoped>\n ${styleString }</style > ` ;
764
- } else {
765
- output += ` \n }; \n
766
- \n <\/ script>\n\n <style scoped>\n ${styleString }</style > ` ;
767
- }
759
+ output += ` \n ${returnStatement } }; \n }; \n });\n <\/ script>\n\n <style scoped>\n </style> ` ;
760
+ } else if (activeComp .state .length || activeComp .actions .length ) {
761
+ output += ` \n ${returnStatement } }; \n };\n <\/ script>\n\n <style scoped>\n ${styleString }</style > ` ;
762
+ } else {
763
+ output += ` \n }; \n\n <\/ script>\n\n <style scoped>\n ${styleString }</style > ` ;
764
+ }
768
765
769
- return output ;
766
+ return output ;
770
767
};
771
768
772
769
/* WATCHES */
You can’t perform that action at this time.
0 commit comments