mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +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
|
@ -39,7 +39,7 @@ namespace Bindings {
|
|||
EventTargetWrapper::EventTargetWrapper(EventTarget& impl)
|
||||
: m_impl(impl)
|
||||
{
|
||||
put_native_function("addEventListener", add_event_listener);
|
||||
put_native_function("addEventListener", add_event_listener, 2);
|
||||
}
|
||||
|
||||
EventTargetWrapper::~EventTargetWrapper()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue