mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibJS: Rename Function => FunctionObject
This commit is contained in:
parent
e389ae3c97
commit
ba9d5c4d54
114 changed files with 263 additions and 262 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <AK/String.h>
|
||||
#include <LibJS/Heap/Handle.h>
|
||||
#include <LibJS/Runtime/Function.h>
|
||||
#include <LibJS/Runtime/FunctionObject.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
|
@ -22,13 +22,13 @@ struct EventHandler {
|
|||
{
|
||||
}
|
||||
|
||||
EventHandler(JS::Handle<JS::Function> c)
|
||||
EventHandler(JS::Handle<JS::FunctionObject> c)
|
||||
: callback(move(c))
|
||||
{
|
||||
}
|
||||
|
||||
String string;
|
||||
JS::Handle<JS::Function> callback;
|
||||
JS::Handle<JS::FunctionObject> callback;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue