<postprocess>, fix tab open/close, fix some URL bugs

This commit is contained in:
Face
2025-08-30 14:19:03 +03:00
parent 9344c7818a
commit 322cb4072e
59 changed files with 1144 additions and 17 deletions

View File

@@ -95,7 +95,7 @@ static func get_element_last_child_handler(vm: LuauVM, dom_parser: HTMLParser, l
# DOM Manipulation Methods
static func handle_element_append(operation: Dictionary, dom_parser: HTMLParser, lua_api) -> void:
static func handle_element_append(operation: Dictionary, dom_parser: HTMLParser) -> void:
var parent_id: String = operation.parent_id
var child_id: String = operation.child_id
@@ -153,7 +153,7 @@ static func handle_element_remove(operation: Dictionary, dom_parser: HTMLParser)
if all_elements_index >= 0:
dom_parser.parse_result.all_elements.remove_at(all_elements_index)
static func handle_insert_before(operation: Dictionary, dom_parser: HTMLParser, lua_api) -> void:
static func handle_insert_before(operation: Dictionary, dom_parser: HTMLParser) -> void:
var parent_id: String = operation.parent_id
var new_child_id: String = operation.new_child_id
var reference_child_id: String = operation.reference_child_id

View File

@@ -472,7 +472,9 @@ func _set_interval_handler(vm: LuauVM) -> int:
func get_current_href() -> String:
var main_node = Engine.get_main_loop().current_scene
return main_node.current_domain
if main_node:
return main_node.current_domain
return ""
func _gurt_select_handler(vm: LuauVM) -> int:
var selector: String = vm.luaL_checkstring(1)