mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibWeb: Split JS wrapper constructors into construct/initialize
This commit is contained in:
parent
06e29fac57
commit
03da70c7d0
31 changed files with 107 additions and 55 deletions
|
@ -33,7 +33,8 @@ namespace Bindings {
|
|||
|
||||
class NodeWrapper : public EventTargetWrapper {
|
||||
public:
|
||||
explicit NodeWrapper(Node&);
|
||||
NodeWrapper(JS::GlobalObject&, Node&);
|
||||
virtual void initialize(JS::Interpreter&, JS::GlobalObject&) override;
|
||||
virtual ~NodeWrapper() override;
|
||||
|
||||
Node& node();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue