@@ -650,27 +650,27 @@ class Results {
650650// operators for attribute selectors
651651const attributeOperators = {
652652 // attribute value is equivalent
653- '=' ( { attr, value, insensitive } ) {
653+ '=' ( { attr, value } ) {
654654 return attr === value
655655 } ,
656656 // attribute value contains word
657- '~=' ( { attr, value, insensitive } ) {
657+ '~=' ( { attr, value } ) {
658658 return ( attr . match ( / \w + / g) || [ ] ) . includes ( value )
659659 } ,
660660 // attribute value contains string
661- '*=' ( { attr, value, insensitive } ) {
661+ '*=' ( { attr, value } ) {
662662 return attr . includes ( value )
663663 } ,
664664 // attribute value is equal or starts with
665- '|=' ( { attr, value, insensitive } ) {
665+ '|=' ( { attr, value } ) {
666666 return attr . startsWith ( `${ value } -` )
667667 } ,
668668 // attribute value starts with
669- '^=' ( { attr, value, insensitive } ) {
669+ '^=' ( { attr, value } ) {
670670 return attr . startsWith ( value )
671671 } ,
672672 // attribute value ends with
673- '$=' ( { attr, value, insensitive } ) {
673+ '$=' ( { attr, value } ) {
674674 return attr . endsWith ( value )
675675 } ,
676676}
0 commit comments