mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
LibWeb: Don't include "Wrapper" suffix in JS wrapper class_name()
The "Wrapper" suffix is not useful information to someone using the JS console, so let's just drop it from the string returned when calling class_name() on a JS binding wrapper.
This commit is contained in:
parent
4d35ffdf3c
commit
00d8e3b02b
Notes:
sideshowbarker
2024-07-18 19:21:25 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/00d8e3b02b6
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ static void generate_header(const IDL::Interface& interface)
|
|||
namespace Web::Bindings {
|
||||
|
||||
class @wrapper_class@ : public @wrapper_base_class@ {
|
||||
JS_OBJECT(@wrapper_class@, @wrapper_base_class@);
|
||||
JS_OBJECT(@name@, @wrapper_base_class@);
|
||||
public:
|
||||
static @wrapper_class@* create(JS::GlobalObject&, @fully_qualified_name@&);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue