(tag)
| 148 | } |
| 149 | |
| 150 | function trimModifiers(tag) { |
| 151 | // Remove trailing '-' and/or '+' |
| 152 | tag = tag.replace(/[-+]+$/, "") |
| 153 | // Remove parentheses at beginning and end |
| 154 | return tag.replace(/^[(]+|[\s)]+$/g, "") |
| 155 | } |
| 156 | |
| 157 | async function loadModifiers() { |
| 158 | try { |
no outgoing calls
no test coverage detected