LibJS+LibWeb: Move native properties to separate getters/setters

This was a bit cumbersome now, but it gets us closer to a format suited
for code generation.
This commit is contained in:
Andreas Kling 2020-03-29 00:37:33 +01:00
commit 30440134cb
Notes: sideshowbarker 2024-07-19 08:05:11 +09:00
19 changed files with 210 additions and 96 deletions

View file

@ -41,6 +41,9 @@ public:
private:
virtual const char* class_name() const override { return "MouseEventWrapper"; }
static JS::Value offset_x_getter(JS::Interpreter&);
static JS::Value offset_y_getter(JS::Interpreter&);
};
}