mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Replace WrapperGenerator's snake_name() with String::to_snakecase()
This now turns "createHTMLDocument" into "create_html_document", that's another FIXME gone. :^)
This commit is contained in:
committed by
Andreas Kling
parent
4fafe14691
commit
a4f80ee658
@@ -45,8 +45,7 @@ public:
|
||||
return adopt(*new DOMImplementation(document));
|
||||
}
|
||||
|
||||
// FIXME: snake_case in WrapperGenerator turns "createHTMLDocument" into "create_htmldocument"
|
||||
const NonnullRefPtr<Document> create_htmldocument(const String& title) const;
|
||||
const NonnullRefPtr<Document> create_html_document(const String& title) const;
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
||||
bool has_feature() const { return true; }
|
||||
|
||||
Reference in New Issue
Block a user