(filterRoot: string, filterValue: string)
| 140 | } |
| 141 | |
| 142 | function createLeadingRule(filterRoot: string, filterValue: string): string { |
| 143 | return [ |
| 144 | `${filterRoot} {`, |
| 145 | ` -webkit-filter: ${filterValue} !important;`, |
| 146 | ` filter: ${filterValue} !important;`, |
| 147 | '}', |
| 148 | ].join('\n'); |
| 149 | } |
| 150 | |
| 151 | function joinSelectors(selectors: string[]): string { |
| 152 | return selectors.map((s) => s.replace(/\,$/, '')).join(',\n'); |
no outgoing calls
no test coverage detected