This commit is contained in:
Tomas Dvorak
2026-02-22 15:41:27 +01:00
parent 0b88627e54
commit 409acd2e08
84 changed files with 65382 additions and 27475 deletions
+1 -3
View File
@@ -540,9 +540,7 @@ func (p *Parser) extractVariables(doc *goquery.Document) []*Value {
text := codeEl.Text()
// Parse var declarations
if strings.HasPrefix(text, "var ") {
text = strings.TrimPrefix(text, "var ")
}
text = strings.TrimPrefix(text, "var ")
lines := strings.Split(text, "\n")
for _, line := range lines {