mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:12:44 +00: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
					
				
					 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
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling