mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 05:37:35 +00:00
LibJS: Set length property in Object::put_native_function()
This commit is contained in:
parent
b3c4514902
commit
cd3e2690eb
14 changed files with 25 additions and 23 deletions
|
@ -40,8 +40,8 @@ namespace Bindings {
|
|||
DocumentWrapper::DocumentWrapper(Document& document)
|
||||
: NodeWrapper(document)
|
||||
{
|
||||
put_native_function("getElementById", get_element_by_id);
|
||||
put_native_function("querySelectorAll", query_selector_all);
|
||||
put_native_function("getElementById", get_element_by_id, 1);
|
||||
put_native_function("querySelectorAll", query_selector_all, 1);
|
||||
}
|
||||
|
||||
DocumentWrapper::~DocumentWrapper()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue