JS: Make implicit this receivers explicit

This commit is contained in:
Kasper Svendsen
2023-05-12 08:50:16 +02:00
parent 2184fefe7f
commit 189f8515c0
5 changed files with 14 additions and 14 deletions

View File

@@ -507,7 +507,7 @@ class DirectiveTargetName extends string {
* `:` and `_` count as component delimiters.
*/
string getRawComponent(int i) {
result = toLowerCase().regexpFind("(?<=^|[-:_])[a-zA-Z0-9]+(?=$|[-:_])", i, _)
result = this.toLowerCase().regexpFind("(?<=^|[-:_])[a-zA-Z0-9]+(?=$|[-:_])", i, _)
}
/**