fix(types): scan_html NodeStack:is missing self
This commit is contained in:
parent
1b7be87040
commit
0efc55445c
|
@ -14,7 +14,7 @@ local record Scanner
|
||||||
record NodeStack
|
record NodeStack
|
||||||
-- stack[n] - get the nth item in the stack (as an HTMLNode)
|
-- stack[n] - get the nth item in the stack (as an HTMLNode)
|
||||||
current: function(self: NodeStack): HTMLNode
|
current: function(self: NodeStack): HTMLNode
|
||||||
is: function(query: string): boolean
|
is: function(self: NodeStack, query: string): boolean
|
||||||
end
|
end
|
||||||
|
|
||||||
scan_html: function(html_text: string, callback: function(stack: NodeStack), opts: table)
|
scan_html: function(html_text: string, callback: function(stack: NodeStack), opts: table)
|
||||||
|
|
Loading…
Reference in New Issue