File tree Expand file tree Collapse file tree 4 files changed +4
-9
lines changed
src/app/scripts/svgo/plugins Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1- /* tslint:disable */
2-
31export const removeComments = {
42 active : true ,
53 type : 'perItem' ,
@@ -18,9 +16,8 @@ export const removeComments = {
1816 * @return {Boolean } if false, item will be filtered out
1917 */
2018function removeCommentsFn ( item ) {
21-
2219 if ( item . comment && item . comment . charAt ( 0 ) !== '!' ) {
2320 return false ;
2421 }
2522 return undefined ;
26- } ;
23+ }
Original file line number Diff line number Diff line change 1- /* tslint:disable */
2-
31export const removeDoctype = {
42 active : true ,
53 type : 'perItem' ,
@@ -35,4 +33,4 @@ function removeDoctypeFn(item) {
3533 return false ;
3634 }
3735 return undefined ;
38- } ;
36+ }
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ function removeEmptyAttrsFn(item) {
1919 }
2020 } ) ;
2121 }
22- } ;
22+ }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export const removeUselessStrokeAndFill = {
99 params : {
1010 stroke : true ,
1111 fill : true ,
12- removeNone : false ,
12+ removeNone : true ,
1313 hasStyleOrScript : false
1414 } ,
1515} ;
You can’t perform that action at this time.
0 commit comments