File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88528852 selector : selector . reduce ( ( acc , curr ) => {
88538853 let hasCompound = true ;
88548854 if ( hasCompound && curr . length > 0 ) {
8855- hasCompound = ':' != curr [ 0 ] || ! [ '&' ] . concat ( combinators ) . includes ( curr [ 0 ] . charAt ( 0 ) ) ;
8855+ hasCompound = ! [ '&' ] . concat ( combinators ) . includes ( curr [ 0 ] . charAt ( 0 ) ) ;
88568856 }
88578857 // @ts -ignore
88588858 if ( hasCompound && curr [ 0 ] == ' ' ) {
Original file line number Diff line number Diff line change @@ -8850,7 +8850,7 @@ function reduceSelector(selector) {
88508850 selector : selector . reduce ( ( acc , curr ) => {
88518851 let hasCompound = true ;
88528852 if ( hasCompound && curr . length > 0 ) {
8853- hasCompound = ':' != curr [ 0 ] || ! [ '&' ] . concat ( combinators ) . includes ( curr [ 0 ] . charAt ( 0 ) ) ;
8853+ hasCompound = ! [ '&' ] . concat ( combinators ) . includes ( curr [ 0 ] . charAt ( 0 ) ) ;
88548854 }
88558855 // @ts -ignore
88568856 if ( hasCompound && curr [ 0 ] == ' ' ) {
Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ function reduceSelector(selector) {
447447 selector : selector . reduce ( ( acc , curr ) => {
448448 let hasCompound = true ;
449449 if ( hasCompound && curr . length > 0 ) {
450- hasCompound = ':' != curr [ 0 ] || ! [ '&' ] . concat ( combinators ) . includes ( curr [ 0 ] . charAt ( 0 ) ) ;
450+ hasCompound = ! [ '&' ] . concat ( combinators ) . includes ( curr [ 0 ] . charAt ( 0 ) ) ;
451451 }
452452 // @ts -ignore
453453 if ( hasCompound && curr [ 0 ] == ' ' ) {
Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ export function reduceSelector(selector: string[][]) {
604604
605605 if ( hasCompound && curr . length > 0 ) {
606606
607- hasCompound = ':' != curr [ 0 ] || ! [ '&' ] . concat ( combinators ) . includes ( curr [ 0 ] . charAt ( 0 ) ) ;
607+ hasCompound = ! [ '&' ] . concat ( combinators ) . includes ( curr [ 0 ] . charAt ( 0 ) ) ;
608608 }
609609
610610 // @ts -ignore
You can’t perform that action at this time.
0 commit comments