fix(types): scan_html NodeStack:is missing self
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/pr/build Pipeline failed Details

This commit is contained in:
Aire-One 2022-10-02 20:54:01 +02:00
parent 1b7be87040
commit 0efc55445c
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ local record Scanner
record NodeStack
-- stack[n] - get the nth item in the stack (as an HTMLNode)
current: function(self: NodeStack): HTMLNode
is: function(query: string): boolean
is: function(self: NodeStack, query: string): boolean
end
scan_html: function(html_text: string, callback: function(stack: NodeStack), opts: table)