mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibJS+LibWeb: Move native JS functions into dedicated member functions
Instead of implementing every native function as a lambda function, use static member functions instead. This makes it easier to navigate the code + backtraces look nicer. :^)
This commit is contained in:
parent
7c4e53f31e
commit
56936b97d0
Notes:
sideshowbarker
2024-07-19 08:05:14 +09:00
Author: https://github.com/awesomekling
Commit: 56936b97d0
20 changed files with 233 additions and 149 deletions
|
@ -37,6 +37,8 @@ public:
|
|||
|
||||
private:
|
||||
virtual const char* class_name() const override { return "MathObject"; }
|
||||
|
||||
static Value random(Interpreter&);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue